From b78ee9bda42dc3de94f572178acff15884764eaa Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Thu, 20 Dec 2007 14:24:31 +0000 Subject: [PATCH] Add object_fast_input category at Portal Types Action, all fast_input that was configured as object_action will be changed to object_fast_input. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@18451 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../erp5_xhtml_style/context_box_render.xml | 14 +++++++++----- .../portal_skins/erp5_xhtml_style/erp5.css.xml | 4 ++++ .../ERP5/bootstrap/erp5_xhtml_style/bt/revision | 2 +- 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml index 6910ff2f38..e9ebe88fcd 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/context_box_render.xml @@ -3,11 +3,8 @@ <record id="1" aka="AAAAAAAAAAE="> <pickle> <tuple> - <tuple> - <string>Products.PageTemplates.ZopePageTemplate</string> - <string>ZopePageTemplate</string> - </tuple> - <none/> + <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/> + <tuple/> </tuple> </pickle> <pickle> @@ -172,6 +169,7 @@ exchange_actions actions/object_exchange | nothing;\n report_actions actions/object_report | nothing;\n button_actions actions/object_button | nothing;\n + fast_input_actions actions/object_fast_input | nothing;\n sort_actions actions/object_sort | nothing;\n ui_actions actions/object_ui | nothing;\n print_actions actions/object_print | nothing;\n @@ -285,6 +283,12 @@ <span class="image"></span>\n <span class="description" i18n:translate="" i18n:domain="ui">Report</span>\n </a>\n + <a tal:condition="fast_input_actions" class="fast_input" title="Fast Input"\n + tal:attributes="href python: portal.ERP5Site_renderCustomLink(fast_input_actions[0][\'url\'], http_parameter_list, dialog_category=\'object_fast_input\')"\n + i18n:attributes="title" i18n:domain="ui">\n + <span class="image"></span>\n + <span class="description" i18n:translate="" i18n:domain="ui">Fast Input</span>\n + </a>\n <tal:block tal:condition="button_actions">\n <span class="separator"></span>\n <tal:block tal:repeat="button_action button_actions">\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml index d2491c9881..e6984d3085 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/erp5.css.xml @@ -840,6 +840,10 @@ fieldset.bottom .field .input {\n background-image: url(\'<dtml-var expr="portal_url()">/images/report.png\');\n }\n \n +#context_bar .tool_buttons .fast_input .image {\n + background-image: url(\'<dtml-var expr="portal_url()">/images/fast_input.png\');\n +}\n +\n #context_bar .tool_buttons .cut .image {\n background-image: url(\'<dtml-var expr="portal_url()">/images/editcut.png\');\n }\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 2d3d9c27b6..8cb9d84396 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -472 \ No newline at end of file +475 \ No newline at end of file -- 2.30.9