Commit bdda2960 authored by Jérome Perrin's avatar Jérome Perrin

fix regression introduced in r25911: the line for domain_tree was shown even...

fix regression introduced in r25911: the line for domain_tree was shown even if domain tree is not activated

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26021 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 826c4ccd
...@@ -98,7 +98,7 @@ ...@@ -98,7 +98,7 @@
editable_fields python:dict([(column[0], getattr(listbox.aq_parent, \'listbox_%s\' % column[0], None)) for column in editable_columns]);\n editable_fields python:dict([(column[0], getattr(listbox.aq_parent, \'listbox_%s\' % column[0], None)) for column in editable_columns]);\n
selection python:here.portal_selections.getSelectionFor(selection_name, REQUEST=request);\n selection python:here.portal_selections.getSelectionFor(selection_name, REQUEST=request);\n
is_domain_tree_mode selection/domain_tree_mode | nothing;\n is_domain_tree_mode selection/domain_tree_mode | nothing;\n
is_report_tree_mode selection/report_tree_mode | nothing;" >\n is_report_tree_mode selection/report_tree_mode | nothing;">\n
\n \n
<tal:block tal:condition="python: len(listboxline_list) > 1" >\n <tal:block tal:condition="python: len(listboxline_list) > 1" >\n
<table:table table:style-name=\'listbox-table\' table:name=\'listbox-table\'>\n <table:table table:style-name=\'listbox-table\' table:name=\'listbox-table\'>\n
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<tal:block tal:define="global style_text python:\'listbox-data-b\'"/>\n <tal:block tal:define="global style_text python:\'listbox-data-b\'"/>\n
</tal:block>\n </tal:block>\n
\n \n
<tal:block tal:condition="python: is_report_tree_mode">\n <tal:block tal:condition="is_report_tree_mode">\n
<table:table-row>\n <table:table-row>\n
<table:table-cell style:name=\'listbox-table.A1\' office:value-type=\'string\'>\n <table:table-cell style:name=\'listbox-table.A1\' office:value-type=\'string\'>\n
<tal:block tal:condition="listboxline/getSectionName">\n <tal:block tal:condition="listboxline/getSectionName">\n
...@@ -133,12 +133,11 @@ ...@@ -133,12 +133,11 @@
\n \n
<tal:block tal:condition="python: listboxline.isTitleLine()">\n <tal:block tal:condition="python: listboxline.isTitleLine()">\n
<table:table-header-rows>\n <table:table-header-rows>\n
<table:table-row>\n <table:table-row tal:condition="is_domain_tree_mode">\n
<table:table-cell table:style-name=\'listbox-table.A1\' \n <table:table-cell table:style-name=\'listbox-table.A1\' \n
tal:attributes="table:number-columns-spanned python: len(listboxline.getColumnItemList())" \n tal:attributes="table:number-columns-spanned python: len(listboxline.getColumnItemList())" \n
office:value-type=\'string\'>\n office:value-type=\'string\'>\n
<text:p tal:condition=\'is_domain_tree_mode\'\n <text:p text:style-name=\'listbox-header\'\n
text:style-name=\'listbox-header\'\n
tal:content="python: selection.getDomain() is not None and selection.getDomain().asDomainItemDict().values()[-1].getTitle() or \'\'"/>\n tal:content="python: selection.getDomain() is not None and selection.getDomain().asDomainItemDict().values()[-1].getTitle() or \'\'"/>\n
</table:table-cell>\n </table:table-cell>\n
</table:table-row>\n </table:table-row>\n
......
71 72
\ 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