From a6712413d8d7f4e3a200785f72ebcd97dbdeba15 Mon Sep 17 00:00:00 2001
From: Kazuhiko Shiozaki <kazuhiko@nexedi.com>
Date: Mon, 2 Mar 2009 14:39:28 +0000
Subject: [PATCH] * use 'Usual Name' instead of 'Title' in all tabs in Person
 or Organisation view.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@25781 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../portal_skins/erp5_crm/Entity_viewEventList.xml     |  8 ++++----
 .../erp5_crm/Entity_viewEventList/my_title.xml         | 10 +++++++++-
 bt5/erp5_crm/bt/revision                               |  2 +-
 3 files changed, 14 insertions(+), 6 deletions(-)

diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList.xml
index 73ad4b5dcd..e044878a5f 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList.xml
@@ -85,7 +85,9 @@
                 <item>
                     <key> <string>center</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <string>my_title</string>
+                      </list>
                     </value>
                 </item>
                 <item>
@@ -99,9 +101,7 @@
                 <item>
                     <key> <string>left</string> </key>
                     <value>
-                      <list>
-                        <string>my_title</string>
-                      </list>
+                      <list/>
                     </value>
                 </item>
                 <item>
diff --git a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList/my_title.xml b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList/my_title.xml
index afa1669bbe..e20558b0b1 100644
--- a/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList/my_title.xml
+++ b/bt5/erp5_crm/SkinTemplateItem/portal_skins/erp5_crm/Entity_viewEventList/my_title.xml
@@ -74,6 +74,10 @@
             <key> <string>values</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>description</string> </key>
+                    <value> <string>The usual name of the person.</string> </value>
+                </item>
                 <item>
                     <key> <string>editable</string> </key>
                     <value> <int>0</int> </value>
@@ -84,12 +88,16 @@
                 </item>
                 <item>
                     <key> <string>form_id</string> </key>
-                    <value> <string>Entity_viewFieldLibrary</string> </value>
+                    <value> <string>Person_viewFieldLibrary</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>Usual Name</string> </value>
+                </item>
               </dictionary>
             </value>
         </item>
diff --git a/bt5/erp5_crm/bt/revision b/bt5/erp5_crm/bt/revision
index ef491079a3..4b74f2216d 100644
--- a/bt5/erp5_crm/bt/revision
+++ b/bt5/erp5_crm/bt/revision
@@ -1 +1 @@
-337
\ No newline at end of file
+338
\ No newline at end of file
-- 
2.30.9