This post will do a lot of different things. It's best if you try them out in your own theme update: 3.0 version of theme link: http://doc.otrs.org/3.0/en/html/themes.html .
Add columns to dashboard:
Edit AgentDashboardTicketGeneric.dtl
about line 53: (Edit: In 3.0, try about line 110)
Code: Select all
<td width="60%">
<div title="$QData{"Title"}">$QData{"Title","70"}</div>
</td>
<td>$QData{"Queue"}</td> <!-- add if you want to see the Queue -->
<td>$QData{"CustomerUserID", "15"}</td> <!-- add if you want to see the user login account -->
<td>$QData{"CustomerID","15"}</td> <!-- add if you want to see the Company -->
<td>$QData{"Owner"}</td> <!-- add this line for the owner-->
<td>$QData{"Responsible"}</td> <!-- add this line for the responsible -->
<td>$QData{"Time"}</td>
Edit Kernel/Language.pm around line 342:
Code: Select all
my $ReturnString = $Self->{$Config} || "$Config needs to be translated!";
if ( $String =~ /\d\d\d\d\d\d\d\d\d\d/ ) {
$String = $Self->{TimeObject}->SystemTime2TimeStamp(
SystemTime => $String,
)
}
Why do you need it?
In line 356 of AgentTicketZoom.dtl:
Code: Select all
<dtl if ($Data{"PendingUntil"} ne "") { $Data{"PendingUntilString"} = "<tr valign="top"><td><b>$Text{"Pending till"}:</b></td><td>$Data{"PendingUntil"} $Data{"PendingTime"} $TimeLong{"$Data{"RealTillTimeNotUsed"}"})</td></tr>"; }>
This puts a date/time after the "remaining time" so you get the best of both worlds.
I also made a change to AgentTicketZoom.pm around line 352:
Code: Select all
if ( $Param{UntilTime} < -1 && $Self->{HighlightColor2} ) {
$Param{PendingUntil} .= " OVERDUE</font>";
}