[Rt-commit] r5026 - in rt/branches/3.5-TESTING: html/Ticket/Elements

trs at bestpractical.com trs at bestpractical.com
Wed Apr 12 20:41:26 EDT 2006


Author: trs
Date: Wed Apr 12 20:41:25 2006
New Revision: 5026

Modified:
   rt/branches/3.5-TESTING/   (props changed)
   rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTime

Log:
 r9771 at wintermute:  tom | 2006-04-12 20:39:24 -0400
 Rodney Rindels pointed out that nothing is displayed if the time values are too large.  r3818 should have made the 'elsif' an 'else' when it removed the original 'else'.


Modified: rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTime
==============================================================================
--- rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTime	(original)
+++ rt/branches/3.5-TESTING/html/Ticket/Elements/ShowTime	Wed Apr 12 20:41:25 2006
@@ -1,8 +1,8 @@
 % if ($minutes < 60) {
 <&|/l, $minutes &>[_1] min</&>
-% } elsif ($minutes < 60 * 24) {
+% } else {
 <&|/l, sprintf("%.1f",$minutes / 60) &>[quant,_1,hour]</&> (<&|/l, $minutes &>[_1] min</&>)
 % }
 <%ARGS>
 $minutes
-</%ARGS>
\ No newline at end of file
+</%ARGS>


More information about the Rt-commit mailing list