Commit dd3498fd authored by Ivan Tyagov's avatar Ivan Tyagov

Use more appropriate name (thanks FX).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37937 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 9e573f6d
...@@ -74,10 +74,9 @@ ...@@ -74,10 +74,9 @@
current_page_max python: listbox_max_lines * current_page;\n current_page_max python: listbox_max_lines * current_page;\n
current_page_start python: (listbox_max_lines * (current_page - 1)) + 1;\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 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 form_url string:${context_url}/${form_id};\n
listbox_url string:${context_url}/${listbox_id};\n
need_pagination python: total_line > listbox_max_lines;">\n need_pagination python: total_line > listbox_max_lines;">\n
\n \n
<!-- Define hidden input. -->\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" tal:attributes="value selection_name" />\n
<input type="hidden" name="list_selection_name" value="default"\n <input type="hidden" name="list_selection_name" value="default"\n
...@@ -465,7 +464,7 @@ ...@@ -465,7 +464,7 @@
<span i18n:translate="" i18n:domain="ui">Display:</span>\n <span i18n:translate="" i18n:domain="ui">Display:</span>\n
<ul>\n <ul>\n
<li tal:repeat="style display_style_list">\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 class python: test(style[0]==list_style, \'selected\',\'\');"\n
tal:content="python: style[1]"\n tal:content="python: style[1]"\n
i18n:translate="" i18n:domain="ui"/>\n i18n:translate="" i18n:domain="ui"/>\n
......
1508 1510
\ No newline at end of file \ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment