[Rt-commit] [svn] r1622 - in rt/branches/3.2-SYBASE-TESTING: .
html/Elements/RT__Ticket html/NoAuth
jesse at pallas.eruditorum.org
jesse at pallas.eruditorum.org
Mon Oct 4 16:02:09 EDT 2004
Author: jesse
Date: Mon Oct 4 16:02:08 2004
New Revision: 1622
Modified:
rt/branches/3.2-SYBASE-TESTING/ (props changed)
rt/branches/3.2-SYBASE-TESTING/html/Elements/RT__Ticket/ColumnMap
rt/branches/3.2-SYBASE-TESTING/html/NoAuth/webrt.css
Log:
r10346 at tinbook: jesse | 2004-09-23T07:47:27.771582Z
r10249 at Jesse-Vincents-Computer: jesse | 2004-09-13T19:56:43.541086Z
----------------------------------------------------------------------
r10238 at tinbook (orig r1474): jesse | 2004-09-10T19:40:40.885981Z
----------------------------------------------------------------------
Modified: rt/branches/3.2-SYBASE-TESTING/html/Elements/RT__Ticket/ColumnMap
==============================================================================
--- rt/branches/3.2-SYBASE-TESTING/html/Elements/RT__Ticket/ColumnMap (original)
+++ rt/branches/3.2-SYBASE-TESTING/html/Elements/RT__Ticket/ColumnMap Mon Oct 4 16:02:08 2004
@@ -200,7 +200,14 @@
DueRelative => {
title => 'Due',
attribute => 'Due',
- value => sub { return $_[0]->DueObj->AgeAsString }
+ value => sub {
+ my $date = $_[0]->DueObj;
+ if ($date && $date->Unix > 0 && $date->Unix < time()) {
+ return '<span class="overdue">' . $date->AgeAsString . '</span>';
+ } else {
+ return $date->AgeAsString;
+ }
+ }
},
ResolvedRelative => {
title => 'Resolved',
Modified: rt/branches/3.2-SYBASE-TESTING/html/NoAuth/webrt.css
==============================================================================
--- rt/branches/3.2-SYBASE-TESTING/html/NoAuth/webrt.css (original)
+++ rt/branches/3.2-SYBASE-TESTING/html/NoAuth/webrt.css Mon Oct 4 16:02:08 2004
@@ -127,6 +127,9 @@
vertical-align: top;
text-align: right;
}
+.overdue {
+ color: red;
+}
div.messagebody {
padding: 2em;
More information about the Rt-commit
mailing list