From dd3498fdcdefadf2497a49c72ed43685a0590ac7 Mon Sep 17 00:00:00 2001 From: Ivan Tyagov <ivan@nexedi.com> Date: Mon, 23 Aug 2010 07:54:33 +0000 Subject: [PATCH] Use more appropriate name (thanks FX). git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37937 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_km_theme/ListBox_asHTML.xml | 7 +++---- bt5/erp5_km/bt/revision | 2 +- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml index 62508241f9..9f129a4c09 100644 --- a/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml +++ b/bt5/erp5_km/SkinTemplateItem/portal_skins/erp5_km_theme/ListBox_asHTML.xml @@ -74,10 +74,9 @@ current_page_max python: listbox_max_lines * current_page;\n 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 - listbox_id request/current_form_id | form_id ;\n - listbox_url string:${context_url}/${listbox_id};\n + form_url string:${context_url}/${form_id};\n need_pagination python: total_line > listbox_max_lines;">\n -\n + \n <!-- Define hidden input. -->\n <input type="hidden" name="list_selection_name" value="default" tal:attributes="value selection_name" />\n <input type="hidden" name="list_selection_name" value="default"\n @@ -465,7 +464,7 @@ <span i18n:translate="" i18n:domain="ui">Display:</span>\n <ul>\n <li tal:repeat="style display_style_list">\n - <a tal:attributes="href python: \'%s?list_style=%s\' % (listbox_url, style[0]);\n + <a tal:attributes="href python: \'%s?list_style=%s\' % (form_url, style[0]);\n class python: test(style[0]==list_style, \'selected\',\'\');"\n tal:content="python: style[1]"\n i18n:translate="" i18n:domain="ui"/>\n diff --git a/bt5/erp5_km/bt/revision b/bt5/erp5_km/bt/revision index 2c87a4b00c..894a5ad682 100644 --- a/bt5/erp5_km/bt/revision +++ b/bt5/erp5_km/bt/revision @@ -1 +1 @@ -1508 \ No newline at end of file +1510 \ No newline at end of file -- 2.30.9