From 3f908b8316d773983089bbd52a8cd3a9e2d4b148 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 6 Jun 2011 15:09:03 +0200
Subject: [PATCH] improve layout of dialog

---
 .../erp5_crm/Event_viewCreateResponseDialog.xml     |  2 +-
 .../your_response_workflow_action.xml               | 13 +++++++++----
 bt5/erp5_crm/bt/revision                            |  2 +-
 3 files changed, 11 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog.xml
index fe32608e0c..cd9d5e084e 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog.xml
@@ -74,6 +74,7 @@
                     <value>
                       <list>
                         <string>your_response_event_text_content</string>
+                        <string>your_response_workflow_action</string>
                       </list>
                     </value>
                 </item>
@@ -84,7 +85,6 @@
                         <string>your_response_event_title</string>
                         <string>your_response_event_portal_type</string>
                         <string>your_response_event_resource</string>
-                        <string>your_response_workflow_action</string>
                       </list>
                     </value>
                 </item>
diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog/your_response_workflow_action.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog/your_response_workflow_action.xml
index 0002eeba5c..61253799ca 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog/your_response_workflow_action.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Event_viewCreateResponseDialog/your_response_workflow_action.xml
@@ -12,6 +12,7 @@
               <list>
                 <string>first_item</string>
                 <string>items</string>
+                <string>orientation</string>
                 <string>title</string>
               </list>
             </value>
@@ -90,27 +91,31 @@
                     <value>
                       <list>
                         <tuple>
-                          <string>Send Event</string>
+                          <string>Send it immediately</string>
                           <string>send</string>
                         </tuple>
                         <tuple>
-                          <string>Plan Event</string>
+                          <string>Plan it at the given date</string>
                           <string>plan</string>
                         </tuple>
                         <tuple>
-                          <string>Redirect on Draft event</string>
+                          <string>Edit it as a Draft</string>
                           <string>draft</string>
                         </tuple>
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>orientation</string> </key>
+                    <value> <string>horizontal</string> </value>
+                </item>
                 <item>
                     <key> <string>target</string> </key>
                     <value> <string>Click to edit the target</string> </value>
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Which Action ?</string> </value>
+                    <value> <string>Action to be triggered on the Response Event</string> </value>
                 </item>
               </dictionary>
             </value>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index 8853508e8a..f5bba53e70 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-555
\ No newline at end of file
+556
\ No newline at end of file
-- 
2.30.9