[Erp5-report] r23857 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Sep 27 00:27:34 CEST 2008


Author: kazuhiko
Date: Sat Sep 27 00:27:34 2008
New Revision: 23857

URL: http://svn.erp5.org?rev=23857&view=rev
Log:
do not display pagination links if total_pages == 1.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml?rev=23857&r1=23856&r2=23857&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml Sat Sep 27 00:27:34 2008
@@ -209,6 +209,7 @@
                     i18n:translate="" i18n:domain="ui"> - <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block> item(s) selected</span>\n
               </td>\n
 \n
+<tal:block tal:condition="python: here.total_pages > 1">\n
               <tal:block tal:condition="not: is_gadget_mode">\n
                 <td style="white-space: nowrap; vertical-align: middle; text-align: center;">\n
                   <input tal:condition="python: here.current_page > 0"\n
@@ -286,6 +287,7 @@
                                     onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box_relative_url,box_id,params)"/>\n
                 </td>\n
               </tal:block>\n
+</tal:block>\n
             </tr>\n
           </table>\n
         </div>\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=23857&r1=23856&r2=23857&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Sat Sep 27 00:27:34 2008
@@ -1,1 +1,1 @@
-615
+616




More information about the Erp5-report mailing list