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

nobody at svn.erp5.org nobody at svn.erp5.org
Sat Sep 27 18:19:59 CEST 2008


Author: kazuhiko
Date: Sat Sep 27 18:19:59 2008
New Revision: 23866

URL: http://svn.erp5.org?rev=23866&view=rev
Log:
small optimisation.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.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/context_box_render.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml?rev=23866&r1=23865&r2=23866&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml Sat Sep 27 18:19:59 2008
@@ -82,12 +82,10 @@
               onChange="submitAction(this.form,\'Base_doAction\')">\n
         <option selected="selected" value=""\n
                 i18n:translate="" i18n:domain="ui">Action...</option>\n
-        <tal:block tal:define="allowed_content_type_list here/getVisibleAllowedContentTypeList | python:[]">\n
-          <tal:block tal:repeat="content_id allowed_content_type_list">\n
-            <option tal:attributes="value string:add $content_id"\n
-                    i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="content_id"\n
-                             i18n:name="portal_type" i18n:translate="" i18n:domain="ui" /></option>\n
-          </tal:block>\n
+        <tal:block tal:repeat="content_id here/getVisibleAllowedContentTypeList | nothing">\n
+          <option tal:attributes="value string:add $content_id"\n
+                  i18n:translate="" i18n:domain="ui">Add <tal:block tal:content="content_id"\n
+                           i18n:name="portal_type" i18n:translate="" i18n:domain="ui" /></option>\n
         </tal:block>\n
         <tal:block tal:repeat="action actions/object_add | nothing">\n
           <option tal:attributes="value string:object ${action/url}"\n
@@ -155,7 +153,7 @@
             print_actions actions/object_print | nothing;\n
             list_mode list_mode | nothing">\n
         <span class="separator"><!--separator--></span>\n
-        <tal:block tal:condition="list_mode | nothing">\n
+        <tal:block tal:condition="list_mode">\n
           <button class="cut" type="submit" name="Folder_cut:method" title="Cut"\n
                   i18n:attributes="title" i18n:domain="ui">\n
             <span class="image"></span>\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=23866&r1=23865&r2=23866&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/bt/revision Sat Sep 27 18:19:59 2008
@@ -1,1 +1,1 @@
-619
+620




More information about the Erp5-report mailing list