[Erp5-report] r31616 nicolas.dumazet - in /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_st...

nobody at svn.erp5.org nobody at svn.erp5.org
Thu Jan 7 06:49:36 CET 2010


Author: nicolas.dumazet
Date: Thu Jan  7 06:49:34 2010
New Revision: 31616

URL: http://svn.erp5.org?rev=31616&view=rev
Log:
simplify tales from r31615: put condition in tag itself

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=31616&r1=31615&r2=31616&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml [utf8] Thu Jan  7 06:49:34 2010
@@ -179,14 +179,12 @@
           <span class="image"></span>\n
           <span class="description" i18n:translate="" i18n:domain="ui">Print</span>\n
         </button>\n
-        <tal:block tal:condition="python: len(here.getVisibleAllowedContentTypeList()) > 0">\n
-          <button class="new" type="submit" title="New"\n
-                  tal:attributes="name python: list_mode and \'Folder_create:method\' or \'Base_createNewDocument:method\'"\n
-                  i18n:attributes="title" i18n:domain="ui">\n
-            <span class="image"></span>\n
-            <span class="description" i18n:translate="" i18n:domain="ui">New</span>\n
-          </button>\n
-        </tal:block>\n
+        <button tal:condition="python: len(here.getVisibleAllowedContentTypeList()) > 0" class="new" type="submit" title="New"\n
+                tal:attributes="name python: list_mode and \'Folder_create:method\' or \'Base_createNewDocument:method\'"\n
+                i18n:attributes="title" i18n:domain="ui">\n
+          <span class="image"></span>\n
+          <span class="description" i18n:translate="" i18n:domain="ui">New</span>\n
+        </button>\n
         <button class="clone" type="submit" title="Clone"\n
                 name="Base_createCloneDocument:method"\n
                 tal:condition="not: list_mode"\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=31616&r1=31615&r2=31616&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] Thu Jan  7 06:49:34 2010
@@ -1,1 +1,1 @@
-860
+861




More information about the Erp5-report mailing list