[Rt-commit] rt branch, 4.0/overdue-fix, created. rt-4.0.0-284-g30596d1

? sunnavy sunnavy at bestpractical.com
Sun May 15 23:27:35 EDT 2011


The branch, 4.0/overdue-fix has been created
        at  30596d1ab63b048bacdc6a5bf9e1ecce5e8dfaa6 (commit)

- Log -----------------------------------------------------------------
commit 5120e1e4bf2763c3c99cc6f14300961c86eb1443
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Mon May 16 11:21:47 2011 +0800

    overdue html fix

diff --git a/share/html/Ticket/Elements/ShowDates b/share/html/Ticket/Elements/ShowDates
index 68117e1..09a4eec 100755
--- a/share/html/Ticket/Elements/ShowDates
+++ b/share/html/Ticket/Elements/ShowDates
@@ -66,7 +66,7 @@
     <td class="label"><&|/l&>Due</&>:</td>\
 % my $due = $Ticket->DueObj;
 % if ( $due && $due->Unix > 0 && $due->Diff < 0 ) {
-    <td class="value"><% $due->AsString  %></span></td>
+    <td class="value"><span class="overdue"><% $due->AsString  %></span></td>
 % } else {
     <td class="value"><% $due->AsString  %></td>
 % }

commit 30596d1ab63b048bacdc6a5bf9e1ecce5e8dfaa6
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Fri May 13 10:56:18 2011 +0800

    we missed .overdue css before

diff --git a/share/html/NoAuth/css/base/misc.css b/share/html/NoAuth/css/base/misc.css
index ea03202..1e48abd 100644
--- a/share/html/NoAuth/css/base/misc.css
+++ b/share/html/NoAuth/css/base/misc.css
@@ -108,3 +108,7 @@ fieldset.cfedit {
     font-family: arial,helvetica,sans-serif !important;
 }
 
+.overdue {
+    color: red;
+}
+

-----------------------------------------------------------------------


More information about the Rt-commit mailing list