[rt-users] ShowStatusInColour - a little help needed with the code to make the subject colourized

David Lane (IT Support) dave at goodchoice.it
Wed May 29 19:00:00 EDT 2013


Hi guys

I had this working about 5 years ago but can't get it right

I want to make http://requesttracker.wikia.com/wiki/ShowStatusInColor

Make the Subject and maybe the ticket ID show the colour the priority has

so we have... from the wiki...


      	if ($colors) {
      		$priority = "<div style=\"color: $colors;\">$priority</div>"
      	}

      		return \"<b>$priority</b>";
      }

      # Comment out any line to disable colour change.
      $COLUMN_MAP->{Priority}->{value} = \&PriorityInColor;



If we can decide how to spell Colour that is (even my spellchecker
gets confused uk/us spelling)

Thanks in advance

-- 
David Lane
Director
GoodChoice.IT Ltd

We reward successful referrals

W: www.goodchoice.it E: dave at goodchoice.it  T: 020 8099 5540



More information about the rt-users mailing list