Page 1 of 1

Answer Staff in color

Posted: Wed Jan 13, 2010 10:33 am
by Markco
Hello,

I would like to put a color on the names of the answers of the Staff here:

admin_ticket.php?track=

In advance thank you for your answer
Greetings

Posted: Wed Jan 13, 2010 3:28 pm
by Klemen
Try changing

Code: Select all

if ($i) {$color='class="ticketrow"'; $i=0;}
to

Code: Select all

if ($reply['lastreplier']) {$color='class="ticketrow"'; $i=0;}
in admin_ticket.php file. This way all replies by staff will have blue background (class ticketrow in the hesk_style.css file) and replies by customers will have white background (class ticketalt in the hesk_style.css file).

Posted: Wed Jan 13, 2010 9:09 pm
by Markco
Thank you for the answer but I made the modification and everything is white: (

Posted: Thu Jan 14, 2010 8:50 am
by Klemen
Try this one:

Code: Select all

if ($reply['staffid']) {$color='class="ticketrow"'; $i=0;}

Posted: Fri Jan 15, 2010 11:26 am
by Markco
Thank you but It is functional partially because certain tickets stay in background white