]> git.uio.no Git - usit-rt.git/blobdiff - share/html/Ticket/Elements/ShowTime
Master to 4.2.8
[usit-rt.git] / share / html / Ticket / Elements / ShowTime
index a62668f463e5b5afed4befffaa56d71a9105d5e2..876973020c6b615b3f8a9e873a111eabe64d8310 100644 (file)
@@ -2,7 +2,7 @@
 %#
 %# COPYRIGHT:
 %#
-%# This software is Copyright (c) 1996-2013 Best Practical Solutions, LLC
+%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC
 %#                                          <sales@bestpractical.com>
 %#
 %# (Except where explicitly superseded by other copyright notices)
@@ -46,9 +46,9 @@
 %#
 %# END BPS TAGGED BLOCK }}}
 % if ($minutes < 60) {
-<&|/l, $minutes &>[_1] min</&>
+<&|/l, $minutes &>[quant,_1,minute,minutes]</&>
 % } else {
-<&|/l, sprintf("%.1f",$minutes / 60) &>[quant,_1,hour]</&> (<&|/l, $minutes &>[_1] min</&>)
+<&|/l, sprintf("%.1f",$minutes / 60), $minutes &>[quant,_1,hour,hours] ([quant,_2,minute,minutes])</&>
 % }
 <%init>
 $minutes ||= 0;