From 2ed71c73dd66e4f53b3b206b22f4b89d46e4ce9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com> Date: Mon, 28 Dec 2015 09:26:55 +0100 Subject: [PATCH] web: chain Domain & Base Domain to category_publication_workflow --- .../workflow_chain_type.xml | 8 ++ .../template_portal_type_workflow_chain_list | 4 +- .../erp5_core/BaseDomain_view.xml | 1 + .../my_translated_validation_state_title.xml | 90 +++++++++++++++++++ 4 files changed, 102 insertions(+), 1 deletion(-) create mode 100644 product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view/my_translated_validation_state_title.xml diff --git a/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml b/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml index 76a41662d6..e6a9b885b7 100644 --- a/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml +++ b/bt5/erp5_web/PortalTypeWorkflowChainTemplateItem/workflow_chain_type.xml @@ -3,10 +3,18 @@ <type>Base Category</type> <workflow>category_publication_workflow</workflow> </chain> + <chain> + <type>Base Domain</type> + <workflow>category_publication_workflow</workflow> + </chain> <chain> <type>Category</type> <workflow>category_publication_workflow</workflow> </chain> + <chain> + <type>Domain</type> + <workflow>category_publication_workflow</workflow> + </chain> <chain> <type>Web Page</type> <workflow>document_conversion_interaction_workflow, document_security_interaction_workflow, edit_workflow, processing_status_workflow, publication_workflow</workflow> diff --git a/bt5/erp5_web/bt/template_portal_type_workflow_chain_list b/bt5/erp5_web/bt/template_portal_type_workflow_chain_list index 232809f9bd..7ec53374b0 100644 --- a/bt5/erp5_web/bt/template_portal_type_workflow_chain_list +++ b/bt5/erp5_web/bt/template_portal_type_workflow_chain_list @@ -1,5 +1,7 @@ Base Category | category_publication_workflow +Base Domain | category_publication_workflow Category | category_publication_workflow +Domain | category_publication_workflow Web Page | document_conversion_interaction_workflow Web Page | document_security_interaction_workflow Web Page | edit_workflow @@ -8,4 +10,4 @@ Web Page | publication_workflow Web Section | category_publication_workflow Web Section | edit_workflow Web Site | category_publication_workflow -Web Site | edit_workflow +Web Site | edit_workflow \ No newline at end of file diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml index 263d19d6d9..c68e4caa93 100644 --- a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view.xml @@ -90,6 +90,7 @@ <value> <list> <string>my_domain_generator_method_id</string> + <string>my_translated_validation_state_title</string> </list> </value> </item> diff --git a/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view/my_translated_validation_state_title.xml b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view/my_translated_validation_state_title.xml new file mode 100644 index 0000000000..38145b50e8 --- /dev/null +++ b/product/ERP5/bootstrap/erp5_core/SkinTemplateItem/portal_skins/erp5_core/BaseDomain_view/my_translated_validation_state_title.xml @@ -0,0 +1,90 @@ +<?xml version="1.0"?> +<ZopeData> + <record id="1" aka="AAAAAAAAAAE="> + <pickle> + <global name="ProxyField" module="Products.ERP5Form.ProxyField"/> + </pickle> + <pickle> + <dictionary> + <item> + <key> <string>delegated_list</string> </key> + <value> + <list/> + </value> + </item> + <item> + <key> <string>id</string> </key> + <value> <string>my_translated_validation_state_title</string> </value> + </item> + <item> + <key> <string>message_values</string> </key> + <value> + <dictionary> + <item> + <key> <string>external_validator_failed</string> </key> + <value> <string>The input failed the external validator.</string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>overrides</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>tales</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string></string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string></string> </value> + </item> + </dictionary> + </value> + </item> + <item> + <key> <string>values</string> </key> + <value> + <dictionary> + <item> + <key> <string>field_id</string> </key> + <value> <string>my_translated_workflow_state_title</string> </value> + </item> + <item> + <key> <string>form_id</string> </key> + <value> <string>Base_viewFieldLibrary</string> </value> + </item> + <item> + <key> <string>target</string> </key> + <value> <string>Click to edit the target</string> </value> + </item> + </dictionary> + </value> + </item> + </dictionary> + </pickle> + </record> +</ZopeData> -- 2.30.9