From bcfe31824e52e299776736a89b8ac88ad66bd9c4 Mon Sep 17 00:00:00 2001 From: richard Date: Tue, 12 Aug 2003 02:10:12 +0000 Subject: [PATCH] batch the (list) listings at 500 entries per page (sf bug 759906) Unfortunately, the doovy javascript falls over when the next/prev links are used, so I've added some simple checking to remove that stuff when we're paging through the results (the simple test fails if you page back to the first page, but it'll do for now) git-svn-id: http://svn.roundup-tracker.org/svnroot/roundup/trunk@1807 57a73879-2fb5-44c3-a270-3262357dd7e2 --- CHANGES.txt | 1 + roundup/cgi/templating.py | 7 +- templates/classic/html/_generic.help.html | 30 ++++++-- templates/minimal/html/_generic.help.html | 88 +++++++++++++++++++---- 4 files changed, 105 insertions(+), 21 deletions(-) diff --git a/CHANGES.txt b/CHANGES.txt index cca42fc..b644e91 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -8,6 +8,7 @@ are given with the most recent entry first. - logfile must be specified if pidfile is (sf bug 772820) - timelog editing via csv interface crashes (sf bug 699837) - sort multilinks a little better for grouping (sf bug 772935) +- batch the (list) listings at 500 entries per page (sf bug 759906) 2003-07-29 0.6.0b4 diff --git a/roundup/cgi/templating.py b/roundup/cgi/templating.py index 832ac68..dc84826 100644 --- a/roundup/cgi/templating.py +++ b/roundup/cgi/templating.py @@ -466,9 +466,10 @@ class HTMLClass(HTMLPermissions): properties = ','.join(properties) if property: property = '&property=%s'%property - return '%s'%( - self.classname, properties, property, width, height, label) + return '%s'%(self.classname, properties, property, width, + height, label) def submit(self, label="Submit New Entry"): ''' Generate a submit button (and action hidden element) diff --git a/templates/classic/html/_generic.help.html b/templates/classic/html/_generic.help.html index 94a01b6..98fd6d0 100644 --- a/templates/classic/html/_generic.help.html +++ b/templates/classic/html/_generic.help.html @@ -15,9 +15,12 @@ -
+ -
+
- +
- + @@ -52,7 +55,24 @@
 x
+ + + + + + +
+ diff --git a/templates/minimal/html/_generic.help.html b/templates/minimal/html/_generic.help.html index ff4c7a3..98fd6d0 100644 --- a/templates/minimal/html/_generic.help.html +++ b/templates/minimal/html/_generic.help.html @@ -1,16 +1,78 @@ + - - - - - + + + + + Property + + + + + +
+ +
+ + + + +
- - - - - -
+ + + + + + + + + + + + + +
 x
+ + + +
 x
+ + + + + + +
- +
+ + + -- 2.30.2