Page 1 of 1

NEW (maybe old news) - Change Status Background Color

Posted: 22 May 2007, 17:12
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.

Posted: 22 May 2007, 22:09
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';

Posted: 22 May 2007, 23:38
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: