From c09e9e75dbe35a341530a5e6f6f5f0490c6c605a Mon Sep 17 00:00:00 2001
From: Lucas Carvalho <lucas@nexedi.com>
Date: Wed, 16 Mar 2011 13:35:57 +0000
Subject: [PATCH] 16-03-2011 lucas * updated bt5 dependency list

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@44354 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../Alarm_installUngBusinessTemplateList.xml             | 7 ++++---
 .../erp5_demo_ung/Base_getUngBusinessTemplateList.xml    | 9 +++++++--
 bt5/erp5_demo_ung/bt/change_log                          | 3 +++
 bt5/erp5_demo_ung/bt/revision                            | 2 +-
 4 files changed, 15 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml
index 30c5dd082b..bc42ed1d4b 100644
--- a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml
+++ b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Alarm_installUngBusinessTemplateList.xml
@@ -60,9 +60,10 @@ business_template_list = context.Base_getUngBusinessTemplateList()\n
 \n
 kw = dict(tag="start")\n
 for business_template_id in business_template_list:\n
-  portal.portal_templates.activate(**kw).installBusinessTemplatesFromRepositories((business_template_id,))\n
-  kw["after_tag"] = kw["tag"]\n
-  kw["tag"] = business_template_id\n
+  if business_template_id not in portal.portal_templates.getInstalledBusinessTemplateTitleList():\n
+    portal.portal_templates.activate(**kw).installBusinessTemplatesFromRepositories((business_template_id,))\n
+    kw["after_tag"] = kw["tag"]\n
+    kw["tag"] = business_template_id\n
 \n
 return kw\n
 </string> </value>
diff --git a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml
index c27d5c366b..4218fc05eb 100644
--- a/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml
+++ b/bt5/erp5_demo_ung/SkinTemplateItem/portal_skins/erp5_demo_ung/Base_getUngBusinessTemplateList.xml
@@ -50,7 +50,11 @@
         </item>
         <item>
             <key> <string>_body</string> </key>
-            <value> <string>return (\'erp5_base\',\n
+            <value> <string>return (\'erp5_core_proxy_field_legacy\',\n
+        \'erp5_full_text_myisam_catalog\',\n
+        \'erp5_base\',\n
+        \'erp5_simulation\',\n
+        \'erp5_dhtml_style\',\n
         \'erp5_web\',\n
         \'erp5_ingestion_mysql_innodb_catalog\',\n
         \'erp5_ingestion\',\n
@@ -71,10 +75,11 @@
         \'erp5_jquery_plugin_jqchart\',\n
         \'erp5_jquery_plugin_colorpicker\',\n
         \'erp5_jquery_plugin_elastic\',\n
-        \'erp5_jquery_plugin_wdcalendar\'\n
+        \'erp5_jquery_plugin_wdcalendar\',\n
         \'erp5_jquery_sheet_editor\',\n
         \'erp5_xinha_editor\',\n
         \'erp5_svg_editor\',\n
+        \'erp5_web_ung_role\',\n
         \'erp5_web_ung_core\',\n
         \'erp5_web_ung_theme\',)\n
 </string> </value>
diff --git a/bt5/erp5_demo_ung/bt/change_log b/bt5/erp5_demo_ung/bt/change_log
index 8ecf38d4d3..804ff2f4f7 100644
--- a/bt5/erp5_demo_ung/bt/change_log
+++ b/bt5/erp5_demo_ung/bt/change_log
@@ -1,3 +1,6 @@
+16-03-2011 lucas
+* updated bt5 dependency list
+
 16-03-2011 lucas
 * set bt5 properties
 
diff --git a/bt5/erp5_demo_ung/bt/revision b/bt5/erp5_demo_ung/bt/revision
index 3f10ffe7a4..19c7bdba7b 100644
--- a/bt5/erp5_demo_ung/bt/revision
+++ b/bt5/erp5_demo_ung/bt/revision
@@ -1 +1 @@
-15
\ No newline at end of file
+16
\ No newline at end of file
-- 
2.30.9