Commit ad42b555 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Convert isReportOpened to int, because it was True or False.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8605 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fb0eb6ab
......@@ -233,7 +233,7 @@
<td class="Data" style="width: 50px; text-align: left; vertical-align: middle" colspan="1"
tal:attributes="colspan python: show_search_line and 1 or (len(here.getSelectedColumnList()) + show_select_column + 1)"
tal:define="index python: selection_index is not None and '&amp;selection_index=%s' % selection_index or '';
is_report_opened python: not here.getSelection().isReportOpened();
is_report_opened python: int(not here.getSelection().isReportOpened());
url here/getUrl"><tal:block tal:repeat="i python: range(0, 6)">&nbsp;<a href="?selection_name=default&amp;selection_index=0&amp;report_depth:int=0"
tal:attributes="href string:${url}?selection_name=${requested_selection_name}${index}&amp;report_depth:int=${i}"
tal:content="i">0</a></tal:block>&nbsp;-&nbsp;<a href="?selection_name=default&amp;selection_index=0&amp;is_report_opened:int=0"
......
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