NEW (maybe old news) - Change Status Background Color

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
Deacon
Posts: 2
Joined: 21 May 2007, 16:33

NEW (maybe old news) - Change Status Background Color

Post by Deacon »

Well, I've tried a lot of searches on this subject, but nothing comes close. I've done a lot of work on the default.css to customize the GUI but I'd a lso like to have some control over the cell background for each type of Status.

Can someone point me to the file which controls these? Are we talking a class es file somewhere? If so, couldn't discover it.
Cheers,

Deacon
matto
Posts: 13
Joined: 31 Jan 2007, 18:49

Post by matto »

If you are trying to change the color of a specific status you can do that by adding a line you config_inc.php file to over-write the color value. Something like this should be able to do it.
$g_status_colors['assigned'] = '#B09FF1';
Deacon
Posts: 2
Joined: 21 May 2007, 16:33

Post by Deacon »

Thanks. We'll give it a try. I assume that the open and closed singe quote define the actual status we're talking about for each bug......

Well, of course that gives rise to the section IN the config_inc.php already there:

################################
# Mantis Look and Feel Variables
################################

# --- status color codes ----------
#
$g_status_colors= array(
  • 'new'=> '#ffa0a0', # red,
    'feedback'=> '#ff50a8', # purple
    'acknowledged'=> '#ffd850', # orange
    'confirmed'=> '#ffffb0', # yellow
    'assigned'=> '#c8c8ff', # blue
    'resolved'=> '#cceedd', # buish-green
    'closed'=> '#e8e8e8'); # light gray

Seek and ye shall find!! DOH! :oops:
Cheers,

Deacon
Post Reply