[Erp5-report] r25906 - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style: SkinTemplat...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Mar 6 13:09:26 CET 2009


Author: jerome
Date: Fri Mar  6 13:09:25 2009
New Revision: 25906

URL: http://svn.erp5.org?rev=25906&view=rev
Log:
uses images for listbox report tree, like in domain tree

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml?rev=25906&r1=25905&r2=25906&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml [utf8] Fri Mar  6 13:09:25 2009
@@ -416,8 +416,10 @@
                   tal:define="section_name python: line.getDomainTitle()">\n
                   <a tal:condition="section_name"\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:content="structure python: \'%s%s&nbsp;%s\' % (\'&nbsp;&nbsp;\' * line.getDepth(), line.isOpen() and \'-\' or \'+\', section_name)" />\n
+                    tal:attributes="href string:${method_id}?report_url=${line/getDomainUrl}&amp;form_id=${form_id}&amp;list_selection_name=${selection_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 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

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml?rev=25906&r1=25905&r2=25906&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml [utf8] Fri Mar  6 13:09:25 2009
@@ -748,12 +748,12 @@
   float: None;\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
   padding-left:15px;\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
   padding-left:15px;\n
 }\n

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision?rev=25906&r1=25905&r2=25906&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision [utf8] Fri Mar  6 13:09:25 2009
@@ -1,1 +1,1 @@
-655
+656




More information about the Erp5-report mailing list