[Rt-commit] r7852 - in rt/branches/3.7-EXPERIMENTAL-TUNIS:
html/Ticket/Elements
clsung at bestpractical.com
clsung at bestpractical.com
Mon May 14 05:49:56 EDT 2007
Author: clsung
Date: Mon May 14 05:49:56 2007
New Revision: 7852
Modified:
rt/branches/3.7-EXPERIMENTAL-TUNIS/ (props changed)
rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/ShowBasics
Log:
r1063 at going04: clsung | 2007-05-14 17:48:28 +0800
- show fields only if they exist
Modified: rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/ShowBasics
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/ShowBasics (original)
+++ rt/branches/3.7-EXPERIMENTAL-TUNIS/html/Ticket/Elements/ShowBasics Mon May 14 05:49:56 2007
@@ -66,14 +66,18 @@
<td class="value time worked"><& ShowTime, minutes => $Ticket->TimeWorked &></td>
</tr>
% }
+% if ($Ticket->TimeLeft) {
<tr>
<td class="label time left"><&|/l&>Left</&>:</td>
<td class="value time left"><& ShowTime, minutes => $Ticket->TimeLeft &></td>
</tr>
+% }
+% if ($Ticket->Priority) {
<tr>
<td class="label priority"><&|/l&>Priority</&>:</td>
<td class="value priority"><%$Ticket->Priority%>/<%$Ticket->FinalPriority %></td>
</tr>
+% }
<tr>
<td class="label queue"><&|/l&>Queue</&>:</td>
<td class="value queue"><%$Ticket->QueueObj->Name%></td>
More information about the Rt-commit
mailing list