X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=rt%2Fshare%2Fhtml%2FTicket%2FElements%2FShowTime;h=feda8b353afcc4989b6cdcaf044fa8becb5669bb;hp=a29f81f966c6aedbbf42a6b153f6a9357f4858d4;hb=de9d037528895f7151a9aead6724ce2df95f9586;hpb=45d35d5739d05e602bc317739485693e0e9ff0b5 diff --git a/rt/share/html/Ticket/Elements/ShowTime b/rt/share/html/Ticket/Elements/ShowTime index a29f81f96..feda8b353 100644 --- a/rt/share/html/Ticket/Elements/ShowTime +++ b/rt/share/html/Ticket/Elements/ShowTime @@ -2,7 +2,7 @@ %# %# COPYRIGHT: %# -%# This software is Copyright (c) 1996-2014 Best Practical Solutions, LLC +%# This software is Copyright (c) 1996-2017 Best Practical Solutions, LLC %# %# %# (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;