[rt-users] colored ticket lists
Stefan Scherer
stefan.scherer at sealsystems.de
Wed Aug 14 10:52:10 EDT 2002
> I'd be interested in them. Can you send it to me?
The Search/Listings.html diff looks like this. Here I
also painted resolved tickets in a green color.
41a42,51
> my @todo_colors = ( "#dadada", "#dad0d0",
> "#dacaca", "#dac0c0",
> "#dababa", "#dab0b0",
> "#daaaaa", "#da9090",
> "#da8a8a", "#da7070" );
> my @done_colors = ( "#dadada", "#d0dad0",
> "#cadaca", "#c0dac0",
> "#badaba", "#b0dab0",
> "#aadaaa", "#90da90",
> "#8ada8a", "#70da70" );
49a60,66
> }
> my $status = eval("\$Ticket->Status");
> my $prio = eval("\$Ticket->Priority");
> if ($status eq "new" || $status eq "open") {
> $bgcolor = $todo_colors[$prio];
> } else {
> $bgcolor = $done_colors[$prio];
More information about the rt-users
mailing list