[Rt-commit] r13130 - in rt/branches/3.8-TESTING: . share/html/Elements

sartak at bestpractical.com sartak at bestpractical.com
Tue Jun 10 16:11:12 EDT 2008


Author: sartak
Date: Tue Jun 10 16:11:01 2008
New Revision: 13130

Modified:
   rt/branches/3.8-TESTING/   (props changed)
   rt/branches/3.8-TESTING/share/html/Elements/ShowLink
   rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/ticket.css

Log:
 r62119 at onn:  sartak | 2008-06-10 16:07:02 -0400
 Display inactive tickets with a strikethrough in Links


Modified: rt/branches/3.8-TESTING/share/html/Elements/ShowLink
==============================================================================
--- rt/branches/3.8-TESTING/share/html/Elements/ShowLink	(original)
+++ rt/branches/3.8-TESTING/share/html/Elements/ShowLink	Tue Jun 10 16:11:01 2008
@@ -49,7 +49,12 @@
 % if ($URI->IsLocal) {
 % my $member = $URI->Object;
 % if (UNIVERSAL::isa($member, "RT::Ticket")) {
+% my $inactive = $member->QueueObj->IsInactiveStatus($member->Status);
+
+<span class="<% $inactive ? 'ticket-inactive' : '' %>">
 <%$member->Id%>: (<%$member->OwnerObj->Name%>) <%$member->Subject%> [<% loc($member->Status) %>]
+</span>
+
 % } elsif ( UNIVERSAL::can($member, 'Name')) {
 <%$URI->Resolver->AsString%>: <%$member->Name%>
 % } else {

Modified: rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/ticket.css
==============================================================================
--- rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/ticket.css	(original)
+++ rt/branches/3.8-TESTING/share/html/NoAuth/css/web2/ticket.css	Tue Jun 10 16:11:01 2008
@@ -202,3 +202,8 @@
 .unread-messages .titlebox-title .left { 
   background-color: #cce;
 }
+
+.ticket-inactive {
+  text-decoration: line-through;
+}
+


More information about the Rt-commit mailing list