From 0fef0b7eee25032b5162cf42f1585014406c01e0 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=A9rome=20Perrin?= <jerome@nexedi.com>
Date: Fri, 28 Sep 2007 09:47:39 +0000
Subject: [PATCH] Use your_ field prefix in dialogs

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@16691 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_crm/Event_viewAssignDialog.xml       |  13 +-
 .../{my_comment.xml => your_comment.xml}      |   8 +-
 ...llow_up.xml => your_default_follow_up.xml} | 148 +++++++++++++++++-
 ...ow_action.xml => your_workflow_action.xml} |  12 +-
 bt5/erp5_crm/bt/revision                      |   2 +-
 5 files changed, 164 insertions(+), 19 deletions(-)
 rename bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/{my_comment.xml => your_comment.xml} (98%)
 rename bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/{my_default_follow_up.xml => your_default_follow_up.xml} (72%)
 rename bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/{my_workflow_action.xml => your_workflow_action.xml} (96%)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog.xml
index 7af537e940..8123846c49 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog.xml
@@ -75,20 +75,19 @@
             <value>
               <dictionary>
                 <item>
-                    <key> <string>Default</string> </key>
+                    <key>                 <string>Default</string> </key>
                     <value>
                       <list>
-                        <string>my_comment</string>
-                        <string>my_default_follow_up</string>
+                        <string>your_comment</string>
+                        <string>your_default_follow_up</string>
+                        <string>your_workflow_action</string>
                       </list>
                     </value>
                 </item>
                 <item>
-                    <key> <string>hidden</string> </key>
+                    <key>                 <string>hidden</string> </key>
                     <value>
-                      <list>
-                        <string>my_workflow_action</string>
-                      </list>
+                      <list/>
                     </value>
                 </item>
               </dictionary>
diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_comment.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_comment.xml
similarity index 98%
rename from bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_comment.xml
rename to bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_comment.xml
index 6986e466af..6fb6e2ade6 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_comment.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_comment.xml
@@ -12,9 +12,15 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>my_comment</string> </value>
+            <value> <string>your_comment</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_default_follow_up.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_default_follow_up.xml
similarity index 72%
rename from bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_default_follow_up.xml
rename to bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_default_follow_up.xml
index 41cbd94847..6b551b2bb3 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_default_follow_up.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_default_follow_up.xml
@@ -12,9 +12,15 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>my_default_follow_up</string> </value>
+            <value> <string>your_default_follow_up</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
@@ -24,6 +30,22 @@
                     <key> <string>external_validator_failed</string> </key>
                     <value> <string>The input failed the external validator.</string> </value>
                 </item>
+                <item>
+                    <key> <string>line_too_long</string> </key>
+                    <value> <string>A line was too long.</string> </value>
+                </item>
+                <item>
+                    <key> <string>relation_result_ambiguous</string> </key>
+                    <value> <string>Select appropriate document in the list.</string> </value>
+                </item>
+                <item>
+                    <key> <string>relation_result_empty</string> </key>
+                    <value> <string>No such document was found.</string> </value>
+                </item>
+                <item>
+                    <key> <string>relation_result_too_long</string> </key>
+                    <value> <string>Too many documents were found.</string> </value>
+                </item>
                 <item>
                     <key> <string>required_not_found</string> </key>
                     <value> <string>Input is required but no input given.</string> </value>
@@ -32,6 +54,10 @@
                     <key> <string>too_long</string> </key>
                     <value> <string>Too much input was given.</string> </value>
                 </item>
+                <item>
+                    <key> <string>too_many_lines</string> </key>
+                    <value> <string>You entered too many lines.</string> </value>
+                </item>
               </dictionary>
             </value>
         </item>
@@ -39,6 +65,14 @@
             <key> <string>overrides</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>allow_creation</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>allow_jump</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>alternate_name</string> </key>
                     <value> <string></string> </value>
@@ -52,15 +86,19 @@
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>css_class</string> </key>
+                    <key> <string>columns</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>default</string> </key>
+                    <key> <string>container_getter_id</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>default_module</string> </key>
+                    <key> <string>css_class</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
@@ -91,18 +129,46 @@
                     <key> <string>extra</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>extra_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>first_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>hidden</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>items</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>jump_method</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>list_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>max_length</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>max_linelength</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>max_lines</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>parameter_list</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>portal_type</string> </key>
                     <value> <string></string> </value>
@@ -115,6 +181,14 @@
                     <key> <string>required</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>size</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>sort</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>title</string> </key>
                     <value> <string></string> </value>
@@ -142,6 +216,14 @@
             <key> <string>tales</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>allow_creation</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>allow_jump</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>alternate_name</string> </key>
                     <value> <string></string> </value>
@@ -155,15 +237,19 @@
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>css_class</string> </key>
+                    <key> <string>columns</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>default</string> </key>
+                    <key> <string>container_getter_id</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
-                    <key> <string>default_module</string> </key>
+                    <key> <string>css_class</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
                     <value> <string></string> </value>
                 </item>
                 <item>
@@ -194,18 +280,46 @@
                     <key> <string>extra</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>extra_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>first_item</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>hidden</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>items</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>jump_method</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>list_method</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>max_length</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>max_linelength</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>max_lines</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>parameter_list</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>portal_type</string> </key>
                     <value> <string></string> </value>
@@ -218,6 +332,14 @@
                     <key> <string>required</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>size</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>sort</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>title</string> </key>
                     <value> <string></string> </value>
@@ -271,6 +393,10 @@
                       <list/>
                     </value>
                 </item>
+                <item>
+                    <key> <string>container_getter_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>css_class</string> </key>
                     <value> <string></string> </value>
@@ -341,6 +467,14 @@
                     <key> <string>max_length</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>max_linelength</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>max_lines</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>parameter_list</string> </key>
                     <value>
diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_workflow_action.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_workflow_action.xml
similarity index 96%
rename from bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_workflow_action.xml
rename to bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_workflow_action.xml
index f3a87c12b0..e30627b142 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/my_workflow_action.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewAssignDialog/your_workflow_action.xml
@@ -12,9 +12,15 @@
     </pickle>
     <pickle>
       <dictionary>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>my_workflow_action</string> </value>
+            <value> <string>your_workflow_action</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
@@ -245,7 +251,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>-</string> </value>
+                    <value> <string></string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
@@ -279,7 +285,7 @@
       <dictionary>
         <item>
             <key> <string>_text</string> </key>
-            <value> <string>python:here.REQUEST.workflow_action</string> </value>
+            <value> <string>request/workflow_action | request/field_my_workflow_action | nothing</string> </value>
         </item>
       </dictionary>
     </pickle>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 95c8a676e9..c9c41087e2 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-113
\ No newline at end of file
+114
\ No newline at end of file
-- 
2.30.9