Commit 6e0251b0 authored by Yoshinori Okuji's avatar Yoshinori Okuji

Add an extra space character after "+" or "-" for each domain name in report...

Add an extra space character after "+" or "-" for each domain name in report tree mode for consistency.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7275 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 91db07a3
...@@ -1571,7 +1571,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> ...@@ -1571,7 +1571,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
if section_name != '': if section_name != '':
section_char = '-' section_char = '-'
list_body_append( list_body_append(
"""<td class="%s" align="left" valign="middle"><a href="portal_selections/foldReport?report_url=%s&form_id=%s&list_selection_name=%s">%s%s%s</a></td> """<td class="%s" align="left" valign="middle"><a href="portal_selections/foldReport?report_url=%s&form_id=%s&list_selection_name=%s">%s%s %s</a></td>
""" % (td_css, getattr(stat_context,'domain_url',''), form.id, selection_name, '&nbsp;&nbsp;' * current_section[2], section_char, translate('erp5_content', section_name, default=section_name.decode('utf-8')))) """ % (td_css, getattr(stat_context,'domain_url',''), form.id, selection_name, '&nbsp;&nbsp;' * current_section[2], section_char, translate('erp5_content', section_name, default=section_name.decode('utf-8'))))
if render_format == 'list': if render_format == 'list':
...@@ -1590,7 +1590,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')"> ...@@ -1590,7 +1590,7 @@ onChange="submitAction(this.form,'%s/portal_selections/setReportRoot')">
if section_name != '': if section_name != '':
section_char = '+' section_char = '+'
list_body_append( list_body_append(
"""<td class="%s" align="left" valign="middle"><a href="portal_selections/unfoldReport?report_url=%s&form_id=%s&list_selection_name=%s">%s%s%s</a></td> """<td class="%s" align="left" valign="middle"><a href="portal_selections/unfoldReport?report_url=%s&form_id=%s&list_selection_name=%s">%s%s %s</a></td>
""" % (td_css, getattr(stat_context,'domain_url',''), form.id, selection_name, '&nbsp;&nbsp;' * current_section[2], section_char, translate('erp5_content', section_name, default=section_name.decode('utf-8')))) """ % (td_css, getattr(stat_context,'domain_url',''), form.id, selection_name, '&nbsp;&nbsp;' * current_section[2], section_char, translate('erp5_content', section_name, default=section_name.decode('utf-8'))))
if render_format == 'list': if render_format == 'list':
......
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