From baf7d7fc9d5cb20dfb3cc17ef24f37d8696912d6 Mon Sep 17 00:00:00 2001 From: Nicolas Delaby <nicolas@nexedi.com> Date: Fri, 29 May 2009 15:48:20 +0000 Subject: [PATCH] display update_action_title as Button value git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27267 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_skins/erp5_xhtml_style/dialog_main.xml | 5 +++-- product/ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml index c9b80aff01..6a1f9a8a17 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/dialog_main.xml @@ -62,8 +62,9 @@ <input tal:condition="cancel_url|request/cancel_url|nothing"\n i18n:attributes="value" i18n:domain="ui" value="Cancel Action" accesskey="C"\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!=\'\'" accesskey="U"\n + <input i18n:attributes="value" i18n:domain="ui"\n + tal:attributes="value python: here.Base_getFormViewDialogActionButtonUpdateActionTitle(form);"\n + tal:condition="form/update_action|nothing" accesskey="U"\n id="dialog_update_button"\n name="Base_showUpdateDialog:method" type="submit" />\n <input tal:attributes="value python: here.Base_getFormViewDialogActionButtonTitle(form);"\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index d6ee760bad..475fbacb43 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -762 \ No newline at end of file +763 \ No newline at end of file -- 2.30.9