[Rt-commit] r5108 - in rt/branches/3.7-EXPERIMENTAL: .

ruz at bestpractical.com ruz at bestpractical.com
Tue Apr 25 09:29:31 EDT 2006


Author: ruz
Date: Tue Apr 25 09:29:27 2006
New Revision: 5108

Modified:
   rt/branches/3.7-EXPERIMENTAL/   (props changed)
   rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTime

Log:
 r2405 at cubic-pc (orig r5026):  trs | 2006-04-13 04:41:25 +0400
  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.7-EXPERIMENTAL/html/Ticket/Elements/ShowTime
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTime	(original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Ticket/Elements/ShowTime	Tue Apr 25 09:29:27 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