From 806f105ef7e1d339592f0ce2ab59a33135ac2673 Mon Sep 17 00:00:00 2001
From: Kevin Deldycke <kevin@nexedi.com>
Date: Tue, 25 Jul 2006 16:26:48 +0000
Subject: [PATCH] Go back default naming (JPS)

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8762 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_types/Web%20Section/predicate.xml              | 6 +-----
 .../{subcontent_preview.xml => section_content.xml}       | 8 ++------
 .../portal_types/Web%20Section/view.xml                   | 6 +-----
 3 files changed, 4 insertions(+), 16 deletions(-)
 rename bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/{subcontent_preview.xml => section_content.xml} (90%)

diff --git a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/predicate.xml b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/predicate.xml
index 8809b1e314..94e709af19 100644
--- a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/predicate.xml
+++ b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/predicate.xml
@@ -44,10 +44,6 @@
             <key> <string>id</string> </key>
             <value> <string>predicate</string> </value>
         </item>
-        <item>
-            <key> <string>optional</string> </key>
-            <value> <int>0</int> </value>
-        </item>
         <item>
             <key> <string>permissions</string> </key>
             <value>
@@ -62,7 +58,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Dynamic Content Parameters</string> </value>
+            <value> <string>Predicate</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>
diff --git a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/subcontent_preview.xml b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/section_content.xml
similarity index 90%
rename from bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/subcontent_preview.xml
rename to bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/section_content.xml
index 859b62e7c0..3a6d66ab1c 100644
--- a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/subcontent_preview.xml
+++ b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/section_content.xml
@@ -42,11 +42,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>subcontent_preview</string> </value>
-        </item>
-        <item>
-            <key> <string>optional</string> </key>
-            <value> <int>0</int> </value>
+            <value> <string>section_content</string> </value>
         </item>
         <item>
             <key> <string>permissions</string> </key>
@@ -62,7 +58,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Dynamic Content Preview</string> </value>
+            <value> <string>Section Contents</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>
diff --git a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml
index 7de92451eb..18db5dd1b1 100644
--- a/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml
+++ b/bt5/erp5_web/ActionTemplateItem/portal_types/Web%20Section/view.xml
@@ -44,10 +44,6 @@
             <key> <string>id</string> </key>
             <value> <string>view</string> </value>
         </item>
-        <item>
-            <key> <string>optional</string> </key>
-            <value> <int>0</int> </value>
-        </item>
         <item>
             <key> <string>permissions</string> </key>
             <value>
@@ -62,7 +58,7 @@
         </item>
         <item>
             <key> <string>title</string> </key>
-            <value> <string>Edit</string> </value>
+            <value> <string>View</string> </value>
         </item>
         <item>
             <key> <string>visible</string> </key>
-- 
2.30.9