Commit fe97bfe6 authored by Ivan Tyagov's avatar Ivan Tyagov

Indentation issues.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37972 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 565ca688
...@@ -78,12 +78,25 @@ ...@@ -78,12 +78,25 @@
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" \n
<input type="hidden" name="list_selection_name" value="default"\n name="list_selection_name" \n
value="default" \n
tal:attributes="value selection_name" />\n
<input type="hidden" \n
name="list_selection_name" \n
value="default"\n
tal:attributes="value selection_name;\n tal:attributes="value selection_name;\n
name string:${field_id}_list_selection_name" />\n name string:${field_id}_list_selection_name" />\n
<input tal:condition="md5_string" type="hidden" name="md5_object_uid_list" value="checksum" tal:attributes="value md5_string" />\n <input tal:condition="md5_string" \n
<input tal:condition="form_id" type="hidden" name="form_id" tal:attributes="value form_id" tal:replace="nothing"/>\n type="hidden" \n
name="md5_object_uid_list" \n
value="checksum" \n
tal:attributes="value md5_string" />\n
<input tal:condition="form_id" \n
type="hidden" \n
name="form_id" \n
tal:attributes="value form_id" \n
tal:replace="nothing"/>\n
\n \n
<tal:block tal:condition="is_gadget_mode">\n <tal:block tal:condition="is_gadget_mode">\n
<tal:block tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n <tal:block tal:define="global box_relative_url python: request.get(\'box_relative_url\', \'\');\n
...@@ -91,7 +104,8 @@ ...@@ -91,7 +104,8 @@
global box_id python: \'visual_%s\' %box_relative_url.split(\'/\')[-1];\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 global dom_id python: request.get(\'dom_id\',None) or box_id;">\n
<input tal:condition="python:form_id" \n <input tal:condition="python:form_id" \n
type="hidden" name="gadget_form_id"\n type="hidden" \n
name="gadget_form_id"\n
tal:attributes="value form_id" />\n tal:attributes="value form_id" />\n
</tal:block>\n </tal:block>\n
</tal:block>\n </tal:block>\n
...@@ -156,6 +170,7 @@ ...@@ -156,6 +170,7 @@
<span tal:condition="python: total_line > 0"\n <span tal:condition="python: total_line > 0"\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 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
</div>\n </div>\n
\n
<div class="listbox-body">\n <div class="listbox-body">\n
<table class="listbox"> \n <table class="listbox"> \n
<thead>\n <thead>\n
...@@ -462,11 +477,12 @@ ...@@ -462,11 +477,12 @@
tal:condition="python: len(display_style_list) > 0">\n tal:condition="python: len(display_style_list) > 0">\n
\n \n
<span i18n:translate="" i18n:domain="ui">Display:</span>\n <span i18n:translate="" i18n:domain="ui">Display:</span>\n
\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\' % (form_url, style[0]);\n <a tal:content="python: style[1]"\n
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
i18n:translate="" i18n:domain="ui"/>\n i18n:translate="" i18n:domain="ui"/>\n
</li>\n </li>\n
</ul>\n </ul>\n
...@@ -500,13 +516,14 @@ ...@@ -500,13 +516,14 @@
\n \n
</div>\n </div>\n
\n \n
<!--Page pagination -->\n <!--Page navigation -->\n
<tal:block tal:condition="need_pagination"\n <tal:block tal:condition="need_pagination"\n
tal:define="page_navigation_mode python: request.get(\'page_navigation_mode\', here.getPageNavigationMode());\n tal:define="page_navigation_mode python: request.get(\'page_navigation_mode\', here.getPageNavigationMode());\n
is_slider_mode python: page_navigation_mode==\'slider\';\n is_slider_mode python: page_navigation_mode==\'slider\';\n
class python: test(is_slider_mode, \'listbox-page-navigation listbox-page-navigation-slider\',\'listbox-page-navigation listbox-page-navigation-text\');">\n class python: test(is_slider_mode, \'listbox-page-navigation listbox-page-navigation-slider\',\'listbox-page-navigation listbox-page-navigation-text\');">\n
\n \n
<div tal:attributes="class class">\n <div tal:attributes="class class">\n
\n
<tal:block tal:condition="is_slider_mode">\n <tal:block tal:condition="is_slider_mode">\n
<tal:block metal:use-macro="real_context/page_navigation_render/macros/page_navigation" />\n <tal:block metal:use-macro="real_context/page_navigation_render/macros/page_navigation" />\n
</tal:block> \n </tal:block> \n
...@@ -517,7 +534,6 @@ ...@@ -517,7 +534,6 @@
\n \n
</div>\n </div>\n
</tal:block>\n </tal:block>\n
\n
\n \n
</div>\n </div>\n
</div>\n </div>\n
......
1513 1514
\ 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