Colors on the main "Home" page

On looking through the archives I have seen the colour coding
modifications for the Search/Listing.html section of RT and I have set
them up.

What I would LIKE to do, is add some sort of colour coding to the main page.
Has anyone attempted or done this before?

Its a bit different from the Search/Listing which is separated into
html’ised tables

Thanks in advance

Dane

Dane Rapaport
Unix Systems Administrator and All Round Nice Guy
Animal LOGIC, Fox Studios Australia
www.animallogic.com
p: +61 2 9383 4652
m: 0414 735 922

Pretty much the same thing, just edit WebRT/html/Elements/MyTickets &
WebRT/html/Elements/MyRequests. The beginning of my files, which isn’t
necessarily the best way, look like (MyRequests):

<& /Elements/TitleBoxStart, title => "25 highest priority tickets I
requested…$

% while (my $Ticket = $MyTickets->Next) { %my $bgcolor; %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" );

%my $status = eval(“$Ticket->Status”);
%my $prio = substr(sprintf(“%02d”,eval(“$Ticket->Priority”)),0,1);
% if ($status eq “new” || $status eq “open”) {
% $bgcolor = $todo_colors[$prio];
% } else {
% $bgcolor = $done_colors[$prio];
% }

– Jeff

At 10:24 PM 11/19/2002, Dane Rapaport wrote:

On looking through the archives I have seen the colour coding
modifications for the Search/Listing.html section of RT and I have set them up.

What I would LIKE to do, is add some sort of colour coding to the main page.
Has anyone attempted or done this before?

Its a bit different from the Search/Listing which is separated into
html’ised tables

Thanks in advance

Dane


Dane Rapaport
Unix Systems Administrator and All Round Nice Guy
Animal LOGIC, Fox Studios Australia
www.animallogic.com
p: +61 2 9383 4652
m: 0414 735 922


rt-users mailing list
rt-users@lists.fsck.com
http://lists.fsck.com/mailman/listinfo/rt-users

Have you read the FAQ? The RT FAQ Manager lives at http://fsck.com/rtfm

Jeff Hoover Jeff.Hoover@InfoTechFL.com
Web Programmer, Info Tech, Inc.
5700 SW 34th Street, Suite 1235 phone: (352) 381-4400
Gainesville, FL 32608 fax: (352) 381-4444

# Subject Queue Status Owner  

I’ve been asked to show Areas at the Search page (Listing.html/RT 2.0.15).
I hope that I haven’t been doing a duplicit work to sb other already done.
The solution consist of modification of the TicketCell component
and of course config.pm, where is extended ‘syntax’ of %WebOptions
such a way:
{
Header => ‘Miles’, # Header
Keyword => ‘Milestone’, # Displayed KeywordSelections (Names)
}

I suppose that it is ready to go into RT 2.0 contrib part. Any corrections
are welcome.

Greets

Jan Okrouhly
-----------------------------------------+---–okrouhly@civ.zcu.cz—
Laboratory for Computer Science | phone: +420 377491 588
University of West Bohemia | location: Univerzitni 22
Americka 42, 306 14 Pilsen, Czech Republic | room: UI404
------------------------------------------73!-de-OK1INC@OK0PPL.#BOH.CZE.EU-

display_keywordselections_in_search.tgz (1.2 KB)