summaryrefslogtreecommitdiff
path: root/rt/share/html/Ticket/Elements/ShowDates
diff options
context:
space:
mode:
authorIvan Kohler <ivan@freeside.biz>2012-06-07 00:56:06 -0700
committerIvan Kohler <ivan@freeside.biz>2012-06-07 00:56:06 -0700
commit43a06151e47d2c59b833cbd8c26d97865ee850b6 (patch)
tree42c51d94e7fa265461b508d061562be204ccc2c1 /rt/share/html/Ticket/Elements/ShowDates
parent6587f6ba7d047ddc1686c080090afe7d53365bd4 (diff)
starting to work...
Diffstat (limited to 'rt/share/html/Ticket/Elements/ShowDates')
-rwxr-xr-xrt/share/html/Ticket/Elements/ShowDates49
1 files changed, 24 insertions, 25 deletions
diff --git a/rt/share/html/Ticket/Elements/ShowDates b/rt/share/html/Ticket/Elements/ShowDates
index 1df0f8084..c0d26f7c1 100755
--- a/rt/share/html/Ticket/Elements/ShowDates
+++ b/rt/share/html/Ticket/Elements/ShowDates
@@ -2,7 +2,7 @@
%#
%# COPYRIGHT:
%#
-%# This software is Copyright (c) 1996-2011 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2012 Best Practical Solutions, LLC
%# <sales@bestpractical.com>
%#
%# (Except where explicitly superseded by other copyright notices)
@@ -46,34 +46,34 @@
%#
%# END BPS TAGGED BLOCK }}}
<table>
- <tr>
- <td class="label date created"><&|/l&>Created</&>:</td>
- <td class="value date created"><% $Ticket->CreatedObj->AsString %></td>
+ <tr class="date created">
+ <td class="label"><&|/l&>Created</&>:</td>\
+ <td class="value"><% $Ticket->CreatedObj->AsString %></td>
</tr>
- <tr>
- <td class="label date starts"><&|/l&>Starts</&>:</td>
- <td class="value date starts"><% $Ticket->StartsObj->AsString %></td>
+ <tr class="date starts">
+ <td class="label"><&|/l&>Starts</&>:</td>\
+ <td class="value"><% $Ticket->StartsObj->AsString %></td>
</tr>
- <tr>
- <td class="label date started"><&|/l&>Started</&>:</td>
- <td class="value date started"><% $Ticket->StartedObj->AsString %></td>
+ <tr class="date started">
+ <td class="label"><&|/l&>Started</&>:</td>\
+ <td class="value"><% $Ticket->StartedObj->AsString %></td>
</tr>
- <tr>
- <td class="label date told"><a href="<% RT->Config->Get('WebPath') %>/Ticket/Display.html?id=<% $Ticket->id %>&Action=SetTold"><&|/l&>Last Contact</&></a>:</td>
- <td class="value date told"><% $Ticket->ToldObj->AsString %></td>
+ <tr class="date told">
+ <td class="label"><a href="<% RT->Config->Get('WebPath') %>/Ticket/Display.html?id=<% $Ticket->id %>&Action=SetTold"><&|/l&>Last Contact</&></a>:</td>\
+ <td class="value"><% $Ticket->ToldObj->AsString %></td>
</tr>
- <tr>
- <td class="label date due"><&|/l&>Due</&>:</td>
+ <tr class="date due">
+ <td class="label"><&|/l&>Due</&>:</td>\
% my $due = $Ticket->DueObj;
% if ( $due && $due->Unix > 0 && $due->Diff < 0 ) {
- <td class="value date due"><span class="overdue"><% $due->AsString %></span></td>
+ <td class="value"><span class="overdue"><% $due->AsString %></span></td>
% } else {
- <td class="value date due"><% $due->AsString %></td>
+ <td class="value"><% $due->AsString %></td>
% }
</tr>
- <tr>
- <td class="label date resolved"><&|/l&>Resolved</&>:</td>
- <td class="value date resolved"><% $Ticket->ResolvedObj->AsString %></td>
+ <tr class="date resolved">
+ <td class="label"><&|/l&>Resolved</&>:</td>\
+ <td class="value"><% $Ticket->ResolvedObj->AsString %></td>
</tr>
% my $willresolve = $Ticket->WillResolveObj;
% if ( $willresolve && $willresolve->Unix > 0 ) {
@@ -81,14 +81,13 @@
<td class="label date willresolve"><&|/l&>Will Resolve</&>:</td>
<td class="value date willresolve"><% $willresolve->AsString %></td>
</tr>
-% } # else don't display either of them
- <tr>
- <td class="label date updated"><&|/l&>Updated</&>:</td>
+% } # else don't display either of them <tr class="date updated">
+ <td class="label"><&|/l&>Updated</&>:</td>\
% my $UpdatedString = $Ticket->LastUpdated ? loc("[_1] by [_2]", $Ticket->LastUpdatedAsString, $m->scomp('/Elements/ShowUser', User => $Ticket->LastUpdatedByObj)) : loc("Never");
% if ($UpdatedLink) {
- <td class="value date updated"><a href="#lasttrans"><% $UpdatedString |n%></a></td>
+ <td class="value"><a href="#lasttrans"><% $UpdatedString | n %></a></td>
% } else {
- <td class="value date updated"><% $UpdatedString |n%></td>
+ <td class="value"><% $UpdatedString | n %></td>
% }
</tr>
% $m->callback( %ARGS, CallbackName => 'EndOfList', TicketObj => $Ticket );