[Rt-commit] r4097 - in rt/branches/3.7-EXPERIMENTAL: . html/Elements
ruz at bestpractical.com
ruz at bestpractical.com
Tue Nov 15 22:51:49 EST 2005
Author: ruz
Date: Tue Nov 15 22:51:48 2005
New Revision: 4097
Modified:
rt/branches/3.7-EXPERIMENTAL/ (props changed)
rt/branches/3.7-EXPERIMENTAL/html/Elements/TicketList
Log:
Modified: rt/branches/3.7-EXPERIMENTAL/html/Elements/TicketList
==============================================================================
--- rt/branches/3.7-EXPERIMENTAL/html/Elements/TicketList (original)
+++ rt/branches/3.7-EXPERIMENTAL/html/Elements/TicketList Tue Nov 15 22:51:48 2005
@@ -71,10 +71,7 @@
% if ($Rows && $ShowNavigation) {
<hr>
-% my $oddRows;
-% if (($TotalFound % $Rows) == 0) {
-% $oddRows = 0;
-% } else { $oddRows = 1; }
+% my $oddRows = ($TotalFound && $TotalFound % $Rows == 0 )? 0 : 1;
<&|/l, $Page, int($TotalFound/$Rows)+$oddRows&>Page [_1] of [_2]</&>
<%perl>
More information about the Rt-commit
mailing list