[Rt-commit] [svn] r1452 - in rt/branches/3.3-TESTING: . html/Elements

jesse at pallas.eruditorum.org jesse at pallas.eruditorum.org
Wed Sep 8 12:49:35 EDT 2004


Author: jesse
Date: Wed Sep  8 12:49:35 2004
New Revision: 1452

Modified:
   rt/branches/3.3-TESTING/   (props changed)
   rt/branches/3.3-TESTING/html/Elements/TicketList
Log:
 r10201 at tinbook:  jesse | 2004-09-08T16:46:05.221674Z
 Ticket listings modified to show which N results they're showing


Modified: rt/branches/3.3-TESTING/html/Elements/TicketList
==============================================================================
--- rt/branches/3.3-TESTING/html/Elements/TicketList	(original)
+++ rt/branches/3.3-TESTING/html/Elements/TicketList	Wed Sep  8 12:49:35 2004
@@ -22,6 +22,12 @@
 %# 
 %# END LICENSE BLOCK
 
+% if ($ShowNavigation) {
+%     my $FirstItem = $maxitems*($Page-1)+1;
+%     my $LastItem = $FirstItem + $Rows - 1;
+<&|/l, $FirstItem, $LastItem&>Results [_1] to [_2]</&>
+% }
+
 %# If you're having TicketList display a single record, you need
 %# to wrap the calls in your own table(s).
 % unless (defined $SingleRecord) {


More information about the Rt-commit mailing list