[Erp5-report] r15804 - /erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateIte...

nobody at svn.erp5.org nobody at svn.erp5.org
Fri Aug 24 11:59:46 CEST 2007


Author: yusei
Date: Fri Aug 24 11:59:45 2007
New Revision: 15804

URL: http://svn.erp5.org?rev=15804&view=rev
Log:
2007-08-24 Yusei
* Not to display Cancel Action button when cancel_url is nothing.

Modified:
    erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml

Modified: erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml
URL: http://svn.erp5.org/erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml?rev=15804&r1=15803&r2=15804&view=diff
==============================================================================
--- erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml (original)
+++ erp5/trunk/products/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml Fri Aug 24 11:59:45 2007
@@ -95,7 +95,8 @@
           <tal:block metal:define-slot="main" />\n
           <tal:block metal:define-slot="bottom" />\n
         </div>\n
-        <input i18n:attributes="value" i18n:domain="ui" value="Cancel Action"\n
+        <input tal:condition="cancel_url|request/cancel_url|nothing"\n
+               i18n:attributes="value" i18n:domain="ui" value="Cancel Action"\n
                id="dialog_cancel_button" name="Base_cancel:method" type="submit" />\n
         <input i18n:attributes="value" i18n:domain="ui" value="Update"\n
                tal:condition="python: form.update_action!=\'\'"\n




More information about the Erp5-report mailing list