diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml index e388414932860680fef5ec4fded1a4785ae599d4..f4a72df0d5633a2ae3f9bdd932ba6e2031f1ea5e 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml @@ -62,11 +62,6 @@ is_web_mode request/is_web_mode | nothing;\n list_style python:request.get(\'list_style\', is_web_mode and \'table\' or None);\n is_gadget_mode request/is_gadget_mode | nothing;\n - box_relative_url python: request.get(\'box_relative_url\', \'\');\n - box python: real_context.restrictedTraverse(box_relative_url); \n - box_id python: \'visual_\'+box.getId();\n - dom_id python: request.get(\'dom_id\',None) or box_id;\n - Base_translateString python: real_context.Base_translateString;\n ">\n <!-- ListBox starts here. -->\n <input type="hidden" name="list_selection_name" value="default" tal:attributes="value selection_name" />\n @@ -77,7 +72,9 @@ \n <tal:block tal:condition="is_gadget_mode"\n tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n - global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];">\n + global box python: real_context.restrictedTraverse(box_relative_url); \n + global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];\n + global dom_id python: request.get(\'dom_id\',None) or box_id;">\n <input tal:condition="python:form_id" \n type="hidden" name="gadget_form_id"\n tal:attributes="value form_id" />\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml index 076d088b01a2f9eb7956208820811293f16645da..cd011725c3154a04f28fb69289f0ca06f1e73d3f 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asTableStyleHTML.xml @@ -179,7 +179,7 @@ current_page_start python: (listbox_max_lines * (current_page - 1)) + 1;\n current_page_stop python: (total_line < current_page_max) and total_line or current_page_max;">\n <tal:block condition="python: total_line > 0"\n - tal:replace="structure python: Base_translateString(\'Results <em>${start} - ${stop}</em> of <em>${total}</em>.\', mapping=dict(start=current_page_start, stop=current_page_stop, total=total_line))"/>\n + tal:replace="structure python: real_context.Base_translateString(\'Results <em>${start} - ${stop}</em> of <em>${total}</em>.\', mapping=dict(start=current_page_start, stop=current_page_stop, total=total_line))"/>\n <span tal:condition="python: total_line == 0" class="warning" i18n:translate="" i18n:domain="ui">No result !</span>\n </span>\n </caption>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 45b1ccee2321964dc98e3f1141ca30e395bfff9f..6b9b650b30ba8a7b2e1ff06b74ff70ae142773a1 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -741 \ No newline at end of file +744 \ No newline at end of file