The new dashboard feature of 2.4 is very cool, but we wanted to see customer
information about listed tickets.
Here's how I added a column to do this.
Amended Kernel/Output/HTML/Standard/AgentDashboardTicketGeneric.dtl as
follows:
In dtl:block:ContentLargeTicketGenericRow section, add the following before
the "Time" TD element:
<td width="10%">
<a
href="$Env{"Baselink"}Action=AgentTicketCustomer&TicketID=$QData{"TicketID"}
"
onmouseover="window.status='$JSText{"Customer history"}'; return true;"
onmouseout="window.status='';">
<div title="$QData{"CustomerUserID"}">$QData{"CustomerID","15"}</div>
</a>
</td>
A few lines later in the dtl:block:ContentLargeTicketGenericNone block
increase the colspan from 3 to 4.
I hope this is useful to others.
John Murray
George James Software
42-44 High Street
Shepperton
TW17 9AU
United Kingdom
Registered in England number 2568792
+44-1932-252568
www.georgejames.com
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/