From ae027f04afc267cc06ecb057e3825c7fc0364818 Mon Sep 17 00:00:00 2001 From: Rafael Monnerat <rafael@nexedi.com> Date: Wed, 8 Oct 2008 00:19:50 +0000 Subject: [PATCH] Allow advertisement gadget be added at the erp5 front page git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24083 20353a03-c40f-0410-a6d1-a30d3c3de9de --- .../portal_gadgets/erp5_advertisement.xml | 23 ++++++++++++++++++- ...5Site_viewAnonymousAdvertisementGadget.xml | 19 ++++++++------- bt5/erp5_knowledge_pad/bt/revision | 2 +- 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement.xml b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement.xml index 90cb0507fe..1ebf4c5783 100644 --- a/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement.xml +++ b/bt5/erp5_knowledge_pad/PathTemplateItem/portal_gadgets/erp5_advertisement.xml @@ -14,7 +14,13 @@ <value> <list> <string>Assignor</string> - <string>Manager</string> + </list> + </value> + </item> + <item> + <key> <string>_Copy_or_Move_Permission</string> </key> + <value> + <list> <string>Owner</string> </list> </value> @@ -63,6 +69,16 @@ <value> <string>string</string> </value> </item> </dictionary> + <dictionary> + <item> + <key> <string>id</string> </key> + <value> <string>multiple_instances_allowed</string> </value> + </item> + <item> + <key> <string>type</string> </key> + <value> <string>int</string> </value> + </item> + </dictionary> </tuple> </value> </item> @@ -71,6 +87,7 @@ <value> <tuple> <string>gadget_type/web_front</string> + <string>gadget_type/erp5_front</string> </tuple> </value> </item> @@ -84,6 +101,10 @@ <key> <string>id</string> </key> <value> <string>erp5_advertisement</string> </value> </item> + <item> + <key> <string>multiple_instances_allowed</string> </key> + <value> <int>0</int> </value> + </item> <item> <key> <string>portal_type</string> </key> <value> <string>Gadget</string> </value> diff --git a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewAnonymousAdvertisementGadget.xml b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewAnonymousAdvertisementGadget.xml index 55c57170f8..31728508ff 100644 --- a/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewAnonymousAdvertisementGadget.xml +++ b/bt5/erp5_knowledge_pad/SkinTemplateItem/portal_skins/erp5_gadget/ERP5Site_viewAnonymousAdvertisementGadget.xml @@ -39,17 +39,20 @@ <key> <string>_text</string> </key> <value> <string encoding="cdata"><![CDATA[ -<h4>Management Solutions</h4>\n +<div class=\'gadget_advertisement\'>\n + <h4>Management Solutions</h4>\n \n -<h5>Accounting</h5>\n -<p>ERP5 Accounting provides modern multidimensional accounting which meets \n - IFRS and complex analytical budgeting requirements.</p>\n + <h5>Accounting</h5>\n + <p>ERP5 Accounting provides modern multidimensional accounting which meets \n + IFRS and complex analytical budgeting requirements.</p>\n \n -<h5>Customer Relation</h5>\n -<p>ERP5 CRM provides sales automation and issue management.</p>\n + <h5>Customer Relation</h5>\n + <p>ERP5 CRM provides sales automation and issue management.</p>\n \n -<h5>Production Management</h5>\n -<p>ERP5 MRP provides supply chain and production management.</p> + <h5>Production Management</h5>\n + <p>ERP5 MRP provides supply chain and production management.</p>\n +</div>\n + ]]></string> </value> </item> diff --git a/bt5/erp5_knowledge_pad/bt/revision b/bt5/erp5_knowledge_pad/bt/revision index ac471d3ba0..2a9c18ad50 100644 --- a/bt5/erp5_knowledge_pad/bt/revision +++ b/bt5/erp5_knowledge_pad/bt/revision @@ -1 +1 @@ -355 \ No newline at end of file +357 \ No newline at end of file -- 2.30.9