[Rt-commit] rt branch, 3.9-trunk, updated. rt-3.8.8-183-gc030f1c
Thomas Sibley
trs at bestpractical.com
Thu Jul 29 12:12:36 EDT 2010
The branch, 3.9-trunk has been updated
via c030f1c46422ed871c4d3589c87a4ec544a26ede (commit)
from 9bec4ce504ec17419063382ed14e16e2b6e06d29 (commit)
Summary of changes:
share/html/Ticket/Elements/ShowBasics | 42 +++++++++++++++---------------
share/html/Ticket/Elements/ShowDates | 46 ++++++++++++++++----------------
2 files changed, 44 insertions(+), 44 deletions(-)
- Log -----------------------------------------------------------------
commit c030f1c46422ed871c4d3589c87a4ec544a26ede
Author: Thomas Sibley <trs at bestpractical.com>
Date: Thu Jul 29 12:13:39 2010 -0400
Use CSS classes more appropriately and usefully for Basics and Dates
diff --git a/share/html/Ticket/Elements/ShowBasics b/share/html/Ticket/Elements/ShowBasics
index 5dcbced..9b44f38 100755
--- a/share/html/Ticket/Elements/ShowBasics
+++ b/share/html/Ticket/Elements/ShowBasics
@@ -46,39 +46,39 @@
%#
%# END BPS TAGGED BLOCK }}}
<table>
- <tr>
- <td class="label id"><&|/l&>Id</&>:</td>
- <td class="value id"><%$Ticket->Id %></td>
+ <tr class="id">
+ <td class="label"><&|/l&>Id</&>:</td>
+ <td class="value"><%$Ticket->Id %></td>
</tr>
- <tr>
- <td class="label status"><&|/l&>Status</&>:</td>
- <td class="value status"><% loc($Ticket->Status) %></td>
+ <tr class="status">
+ <td class="label"><&|/l&>Status</&>:</td>
+ <td class="value"><% loc($Ticket->Status) %></td>
</tr>
% if ($Ticket->TimeEstimated) {
- <tr>
- <td class="label time estimated"><&|/l&>Estimated</&>:</td>
- <td class="value time estimated"><& ShowTime, minutes => $Ticket->TimeEstimated &></td>
+ <tr class="time estimated">
+ <td class="label"><&|/l&>Estimated</&>:</td>
+ <td class="value"><& ShowTime, minutes => $Ticket->TimeEstimated &></td>
</tr>
% }
% if ($Ticket->TimeWorked) {
- <tr>
- <td class="label time worked"><&|/l&>Worked</&>:</td>
- <td class="value time worked"><& ShowTime, minutes => $Ticket->TimeWorked &></td>
+ <tr class="time worked">
+ <td class="label"><&|/l&>Worked</&>:</td>
+ <td class="value"><& 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 class="time left">
+ <td class="label"><&|/l&>Left</&>:</td>
+ <td class="value"><& ShowTime, minutes => $Ticket->TimeLeft &></td>
</tr>
% }
- <tr>
- <td class="label priority"><&|/l&>Priority</&>:</td>
- <td class="value priority"><& ShowPriority, Ticket => $Ticket &></td>
+ <tr class="priority">
+ <td class="label"><&|/l&>Priority</&>:</td>
+ <td class="value"><& ShowPriority, Ticket => $Ticket &></td>
</tr>
- <tr>
- <td class="label queue"><&|/l&>Queue</&>:</td>
- <td class="value queue"><& ShowQueue, QueueObj => $Ticket->QueueObj &></td>
+ <tr class="queue">
+ <td class="label"><&|/l&>Queue</&>:</td>
+ <td class="value"><& ShowQueue, QueueObj => $Ticket->QueueObj &></td>
</tr>
% $m->callback( %ARGS, CallbackName => 'EndOfList', TicketObj => $Ticket );
</table>
diff --git a/share/html/Ticket/Elements/ShowDates b/share/html/Ticket/Elements/ShowDates
index 07140c2..fc09552 100755
--- a/share/html/Ticket/Elements/ShowDates
+++ b/share/html/Ticket/Elements/ShowDates
@@ -46,42 +46,42 @@
%#
%# 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"><&|/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"><% $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&>Closed</&>:</td>
- <td class="value date resolved"><% $Ticket->ResolvedObj->AsString %></td>
+ <tr class="date resolved">
+ <td class="label"><&|/l&>Closed</&>:</td>
+ <td class="value"><% $Ticket->ResolvedObj->AsString %></td>
</tr>
- <tr>
- <td class="label date updated"><&|/l&>Updated</&>:</td>
+ <tr class="date updated">
+ <td class="label"><&|/l&>Updated</&>:</td>
% my $UpdatedString = $Ticket->LastUpdated ? loc("[_1] by [_2]", $Ticket->LastUpdatedAsString, $Ticket->LastUpdatedByObj->Name) : loc("Never");
% if ($UpdatedLink) {
- <td class="value date updated"><a href="#lasttrans"><% $UpdatedString | h %></a></td>
+ <td class="value"><% $UpdatedString | h %></a></td>
% } else {
- <td class="value date updated"><% $UpdatedString | h %></td>
+ <td class="value"><% $UpdatedString | h %></td>
% }
</tr>
% $m->callback( %ARGS, CallbackName => 'EndOfList', TicketObj => $Ticket );
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list