Commit 6855cec8 authored by Jérome Perrin's avatar Jérome Perrin

uses images for listbox report tree, like in domain tree

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25906 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent ca482ba8
...@@ -416,8 +416,10 @@ ...@@ -416,8 +416,10 @@
tal:define="section_name python: line.getDomainTitle()">\n tal:define="section_name python: line.getDomainTitle()">\n
<a tal:condition="section_name"\n <a tal:condition="section_name"\n
tal:define="method_id python: line.isOpen() and \'foldReport\' or \'unfoldReport\'"\n tal:define="method_id python: line.isOpen() and \'foldReport\' or \'unfoldReport\'"\n
tal:attributes="href string:${method_id}?report_url=${line/getDomainUrl}&amp;form_id=${form_id}&amp;list_selection_name=${selection_name}"\n tal:attributes="href string:${method_id}?report_url=${line/getDomainUrl}&amp;form_id=${form_id}&amp;list_selection_name=${selection_name};\n
tal:content="structure python: \'%s%s&nbsp;%s\' % (\'&nbsp;&nbsp;\' * line.getDepth(), line.isOpen() and \'-\' or \'+\', section_name)" />\n class python:test(line.isOpen(), \'tree_open\', \'tree_closed\');\n
style python:\'white-space: nowrap;; margin-left: %spx\' % (line.getDepth() * 15)"\n
tal:content="section_name"/>\n
</td>\n </td>\n
<td class="AnchorColumn Data" tal:condition="python:show_anchor_column and len(render_result)" style="width: 20px;">\n <td class="AnchorColumn Data" tal:condition="python:show_anchor_column and len(render_result)" style="width: 20px;">\n
<a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" alt="document" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n <a href="#" tal:attributes="href python:render_result[0][4]"><img src="document_icon.gif" alt="document" tal:attributes="src string:${portal_url_string}/images/line_clickable.png" /></a>\n
......
...@@ -748,12 +748,12 @@ fieldset.bottom .field .input {\n ...@@ -748,12 +748,12 @@ fieldset.bottom .field .input {\n
float: None;\n float: None;\n
}\n }\n
\n \n
.listbox_domain_tree_table a.tree_open {\n a.tree_open {\n
background: url(\'<dtml-var expr="portal_url()">/images/tree_open.png\') left no-repeat;\n background: url(\'<dtml-var expr="portal_url()">/images/tree_open.png\') left no-repeat;\n
padding-left:15px;\n padding-left:15px;\n
}\n }\n
\n \n
.listbox_domain_tree_table a.tree_closed {\n a.tree_closed {\n
background: url(\'<dtml-var expr="portal_url()">/images/tree_closed.png\') left no-repeat;\n background: url(\'<dtml-var expr="portal_url()">/images/tree_closed.png\') left no-repeat;\n
padding-left:15px;\n padding-left:15px;\n
}\n }\n
......
655 656
\ 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