[Erp5-report] r38270 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...
nobody at svn.erp5.org
nobody at svn.erp5.org
Fri Sep 10 15:19:36 CEST 2010
Author: ivan
Date: Fri Sep 10 15:19:35 2010
New Revision: 38270
URL: http://svn.erp5.org?rev=38270&view=rev
Log:
show current rows (start - stop) only if number of total rows > 0.
Modified:
erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.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_asHTMLLibrary.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.xml?rev=38270&r1=38269&r2=38270&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTMLLibrary.xml [utf8] Fri Sep 10 15:19:35 2010
@@ -128,18 +128,23 @@
<div class="listbox-number-of-records"\n
metal:define-macro="listbox_number_of_records">\n
\n
- <span class="listbox-current-page-start-number"\n
- tal:content="current_page_start"/> - \n
- <span class="listbox-current-page-stop-number"\n
- tal:content="current_page_stop"/> \n
- <span i18n:translate="" i18n:domain="ui">of</span>\n
+ <!-- listbox start - stop number -->\n
+ <tal:block tal:condition="python: total_line > 0">\n
+ <span class="listbox-current-page-start-number"\n
+ tal:content="current_page_start"/> - \n
+ <span class="listbox-current-page-stop-number"\n
+ tal:content="current_page_stop"/> \n
+ <span i18n:translate="" i18n:domain="ui">of</span>\n
+ </tal:block>\n
\n
+ <!-- listbox total rows number -->\n
<span class="listbox-current-page-total-number"\n
tal:attributes="class python: test(is_default_listbox_field, \'listbox-current-page-total-number\', \'listbox-current-page-total-number %s-current-page-total-number\' %field_id)"\n
i18n:translate="" i18n:domain="ui">\n
<tal:block tal:replace="total_line" i18n:name="number">0</tal:block> records\n
</span>\n
- \n
+\n
+ <!-- listbox selected rows number -->\n
<span class="listbox-current-item-number"\n
tal:condition="show_select_column"\n
tal:attributes="class string:${field_id}-current-item-number"\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=38270&r1=38269&r2=38270&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Fri Sep 10 15:19:35 2010
@@ -1 +1 @@
-1008
\ No newline at end of file
+1010
\ No newline at end of file
More information about the Erp5-report
mailing list