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

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Sep 17 11:15:33 CEST 2008


Author: ivan
Date: Wed Sep 17 11:15:21 2008
New Revision: 23667

URL: http://svn.erp5.org?rev=23667&view=rev
Log:
Report & domain listbox icons should not be disabled explicitly in gadget mode. Respective gadget form's listbox settings should be adjusted instead.

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/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=23667&r1=23666&r2=23667&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asHTML.xml Wed Sep 17 11:15:21 2008
@@ -9,12 +9,6 @@
     </pickle>
     <pickle>
       <dictionary>
-        <item>
-            <key> <string>__ac_local_roles__</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
         <item>
             <key> <string>_bind_names</string> </key>
             <value>
@@ -39,12 +33,6 @@
                   </dictionary>
                 </state>
               </object>
-            </value>
-        </item>
-        <item>
-            <key> <string>_owner</string> </key>
-            <value>
-              <none/>
             </value>
         </item>
         <item>
@@ -84,7 +72,7 @@
                                        name string:${field_id}_list_selection_name" />\n
   <input tal:condition="md5_string" type="hidden" name="md5_object_uid_list" value="checksum" tal:attributes="value md5_string" />\n
   \n
-  <tal:block tal:condition="python:is_gadget_mode" >\n
+  <tal:block tal:condition="is_gadget_mode" >\n
     <input tal:condition="python:form_id" \n
           type="hidden" name="gadget_form_id"\n
           tal:attributes="value form_id" />\n
@@ -101,7 +89,7 @@
   <tal:block tal:define="expand python: 0">\n
     <tal:block metal:define-macro="ListBoxContainer">\n
       <tal:block tal:condition="expand">\n
-        <table tal:condition="python: not is_gadget_mode and is_domain_tree_mode"\n
+        <table tal:condition="is_domain_tree_mode"\n
           style="width: 100%;" cellpadding="0" cellspacing="0"\n
           summary="This table contains the domain tree with the switch button"\n
           tal:define="selected_domain_path here/getSelectedDomainPath">\n
@@ -307,7 +295,7 @@
                  summary="This table contains the listbox content">\n
             <tr id="listbox_label_line" tal:attributes="id string:${field_id}_label_line;\n
                                                         class string:listbox_label_line">\n
-              <td tal:condition="python: not is_gadget_mode and is_report_tree_mode"\n
+              <td tal:condition="is_report_tree_mode"\n
                 class="Data" style="width: 50px; text-align: left; vertical-align: middle">\n
                 <select name="report_root_url"\n
                   tal:attributes="onChange string:submitAction(this.form, \'${context_url}/setReportRoot\')">\n
@@ -320,7 +308,7 @@
                 </select>\n
               </td>\n
               <td class="AnchorColumn Data" tal:condition="show_anchor_column">&nbsp;</td>\n
-              <td tal:condition="python: not is_gadget_mode and show_select_column"\n
+              <td tal:condition="show_select_column"\n
                 class="Data" style="width: 50px; text-align: center; vertical-align: middle">\n
                 <input id="listbox_check_all" type="image"\n
                   name="checkAll:method" value="1"\n
@@ -378,7 +366,7 @@
             <tr tal:condition="python: show_search_line or is_report_tree_mode"\n
               id="listbox_search_line"\n
               tal:attributes="id python: show_search_line and (\'%s_search_line\' % field_id) or (\'%s_report_depth_line\' % field_id)">\n
-              <tal:block tal:condition="python: not is_gadget_mode and is_report_tree_mode">\n
+              <tal:block tal:condition="is_report_tree_mode">\n
                 <td class="Data" style="width: 50px; text-align: left; vertical-align: middle" colspan="1"\n
                   tal:attributes="colspan python: show_search_line and 1 or (len(here.getSelectedColumnList()) + show_select_column + show_anchor_column + 1)"\n
                   tal:define="index python: selection_index is not None and \'&amp;selection_index=%s\' % selection_index or \'\';\n
@@ -508,12 +496,6 @@
             <key> <string>title</string> </key>
             <value> <string></string> </value>
         </item>
-        <item>
-            <key> <string>uid</string> </key>
-            <value>
-              <none/>
-            </value>
-        </item>
       </dictionary>
     </pickle>
   </record>

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=23667&r1=23666&r2=23667&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Wed Sep 17 11:15:21 2008
@@ -1,1 +1,1 @@
-602
+604




More information about the Erp5-report mailing list