[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_contents.pt:1.11 collector_macros.pt:1.12

Ken Manheimer klm@zope.com
Thu, 18 Oct 2001 16:06:25 -0400


Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv10921

Modified Files:
	collector_contents.pt collector_macros.pt 
Log Message:
Cosmetics.


=== CMF/CMFCollector/skins/collector/collector_contents.pt 1.10 => 1.11 ===
                  DateTime nocall: modules/DateTime/DateTime;
                  BATCHSIZE python: 10;
-                 TITLELEN python: 45;
-                 DESCRLEN python: 120;
+                 TITLELEN python: 35;
+                 DESCRLEN python: 150;
                  b_start python: request.get('b_start', 0);
                  searching
                     python: (request.get('searching') != 'yep'


=== CMF/CMFCollector/skins/collector/collector_macros.pt 1.11 => 1.12 ===
                                              % (here.absolute_url(),
                                                 prev.first)">
-               Previous batch</a>
+               Previous</a>
              </span>
           </th>
 
@@ -262,8 +262,12 @@
               tal:define="total here/length;
                           found python: len(items)">
             <b>
-              <span tal:replace="python: 'Issues %s => %s of'
-                                   % (batch.start, batch.end)"/>
+              <span tal:condition="python: batch.start != batch.end"
+                    tal:replace="python: '%s=>%s of'
+                                   % (batch.start, batch.end)">X=>X of</span>
+              <span tal:condition="python: batch.start == batch.end"
+                    tal:replace="python: '%s of'
+                                   % (batch.start)">X of</span>
               <span tal:condition="python: total != found"
                     tal:replace="python: '%s found (%s total)'
                                          % (found, total)">FOUND/TOTAL</span>
@@ -278,7 +282,7 @@
                 tal:attributes="href python: '%s/collector_contents?b_start=%s'
                                              % (here.absolute_url(),
                                                 next.first)">
-              Next batch</a>
+              Next</a>
             </span>
           </th>