Commit 7c4878f9 authored by Ivan Tyagov's avatar Ivan Tyagov

Identation.

We should show 'select column' in any listbox mode if it's set (not just hide itforn gadget mode globally - i.e. if a form's listbox needs to hide / show this column it must be configured explicitly rather than hard coded globally).

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@37318 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84aaa003
...@@ -148,8 +148,7 @@ ...@@ -148,8 +148,7 @@
<span tal:condition="python: here.getTitle() and total_line>0"> - </span>\n <span tal:condition="python: here.getTitle() and total_line>0"> - </span>\n
<!--Show search result -->\n <!--Show search result -->\n
<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
/>\n
\n \n
<!-- Set a slot for additional content ? -->\n <!-- Set a slot for additional content ? -->\n
</div>\n </div>\n
...@@ -177,7 +176,7 @@ ...@@ -177,7 +176,7 @@
&nbsp;\n &nbsp;\n
</th>\n </th>\n
<!--Add colum for checkbox-->\n <!--Add colum for checkbox-->\n
<th tal:condition="python: show_select_column and not is_gadget_mode"\n <th tal:condition="python: show_select_column"\n
class="select_cell"\n class="select_cell"\n
style="border-width: 0;\n style="border-width: 0;\n
text-align: center; \n text-align: center; \n
...@@ -201,6 +200,7 @@ ...@@ -201,6 +200,7 @@
i18n:domain="ui" i18n:attributes="title" /> \n i18n:domain="ui" i18n:attributes="title" /> \n
\n \n
</th>\n </th>\n
<!-- Column label row -->\n
<tal:block tal:repeat="value here/getLabelValueList">\n <tal:block tal:repeat="value here/getLabelValueList">\n
<tal:block tal:define="sql python: value[0];\n <tal:block tal:define="sql python: value[0];\n
title python: value[1];\n title python: value[1];\n
...@@ -271,7 +271,7 @@ ...@@ -271,7 +271,7 @@
<th class="AnchorColumn" tal:condition="show_anchor_column">\n <th class="AnchorColumn" tal:condition="show_anchor_column">\n
&nbsp;\n &nbsp;\n
</th>\n </th>\n
<th tal:condition="python: show_select_column and not is_gadget_mode"\n <th tal:condition="python: show_select_column"\n
class="Data" style="text-align: center; vertical-align: middle">\n class="Data" style="text-align: center; vertical-align: middle">\n
<input id="listbox_select" type="image"\n <input id="listbox_select" type="image"\n
title="Action" alt="Action" name="Base_doSelect:method"\n title="Action" alt="Action" name="Base_doSelect:method"\n
...@@ -337,7 +337,7 @@ ...@@ -337,7 +337,7 @@
\n \n
<!--Select column -->\n <!--Select column -->\n
<!--TODO Define the CSS class !-->\n <!--TODO Define the CSS class !-->\n
<td tal:condition="python: show_select_column and not is_gadget_mode"\n <td tal:condition="python: show_select_column"\n
class="select_cell" style="text-align: center; vertical-align: middle"\n class="select_cell" style="text-align: center; vertical-align: middle"\n
>\n >\n
\n \n
...@@ -440,7 +440,7 @@ ...@@ -440,7 +440,7 @@
<!--TODO define show_display_selection macro-->\n <!--TODO define show_display_selection macro-->\n
<div tal:condition="python: len(display_style_list) > 0"\n <div tal:condition="python: len(display_style_list) > 0"\n
class="list-style-selection">\n class="list-style-selection">\n
<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\' % (listbox_url, style[0]);\n
......
1494 1495
\ 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