[Erp5-report] r38243 ivan - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTe...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Sep 9 16:19:59 CEST 2010


Author: ivan
Date: Thu Sep  9 16:19:55 2010
New Revision: 38243

URL: http://svn.erp5.org?rev=38243&view=rev
Log:
Translate "items selected" and show only if "select column" is present.
Translate sortable columns.

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/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_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=38243&r1=38242&r2=38243&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] Thu Sep  9 16:19:55 2010
@@ -287,21 +287,23 @@
                     <button tal:condition="not:is_gadget_mode"\n
                             type="submit"\n
                             name="setSelectionQuickSortOrder:method"\n
-                            tal:content="title"\n
                             tal:attributes="title title;\n
                                             value listbox_field_id;\n
                                             class bt_class;"\n
-                            i18n:domain="ui" i18n:attributes="title"/>\n
+                            i18n:domain="ui" i18n:attributes="title">\n
+                      <span i18n:translate="" i18n:domain="ui" tal:content="title"/>\n
+                    </button>\n
 \n
                     <!-- Button in gadget mode -->\n
                     <button tal:condition="is_gadget_mode" \n
                               tal:define ="params python: {\'setSelectionQuickSortOrder:method\':listbox_field_id};"\n
                               type="button"  \n
-                              tal:content="title"\n
                               tal:attributes="title title; \n
                                               onclick python: real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,dom_id,params);\n
                                               class bt_class;"\n
-                              i18n:domain="ui" i18n:attributes="title"/>\n
+                              i18n:domain="ui" i18n:attributes="title">\n
+                      <span i18n:translate="" i18n:domain="ui" tal:content="title"/>\n
+                    </button>\n
   \n
                     <!-- Icon showing sort order -->\n
                     <img src="images/transparent-image.gif"\n

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=38243&r1=38242&r2=38243&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] Thu Sep  9 16:19:55 2010
@@ -137,16 +137,16 @@
   <span class="listbox-current-page-total-number"\n
         tal:content="total_line"\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
-  <span i18n:translate="" i18n:domain="ui">records</span> - \n
-\n
-  <span class="listbox-current-item-number"\n
-        tal:attributes="class string:${field_id}-current-item-number"\n
-        tal:condition="show_select_column"\n
-        i18n:translate="" i18n:domain="ui">\n
-    <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block>\n
-  </span>\n
-  <span i18n:translate="" i18n:domain="ui">items selected</span>\n
-\n
+  <span i18n:translate="" i18n:domain="ui">records</span> \n
+  \n
+  <tal:block tal:condition="show_select_column">  - \n
+    <span class="listbox-current-item-number"\n
+          tal:attributes="class string:${field_id}-current-item-number"\n
+          i18n:translate="" i18n:domain="ui">\n
+      <tal:block tal:replace="python: len(here.getCheckedUidList())" i18n:name="number">0</tal:block>\n
+    </span>\n
+    <span i18n:translate="" i18n:domain="ui">items selected</span>\n
+  </tal:block>\n
 \n
 </div>\n
 \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=38243&r1=38242&r2=38243&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] Thu Sep  9 16:19:55 2010
@@ -1 +1 @@
-1003
\ No newline at end of file
+1005
\ No newline at end of file




More information about the Erp5-report mailing list