From f0455918bf50bbc418955ade469386853169af34 Mon Sep 17 00:00:00 2001
From: Kevin Deldycke <kevin@nexedi.com>
Date: Thu, 20 Jul 2006 13:16:41 +0000
Subject: [PATCH] Rename PendingWorkList form to MyTaskList

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8630 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 .../erp5_web/ERP5Web_viewMyTask.xml           | 154 ++++++++++++++++++
 .../my_tasks_description.xml}                 |  12 +-
 .../my_tasks_title.xml}                       |  10 +-
 3 files changed, 169 insertions(+), 7 deletions(-)
 create mode 100644 bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask.xml
 rename bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/{ERP5Site_viewPendingWorkList/breadcrumb.xml => ERP5Web_viewMyTask/my_tasks_description.xml} (94%)
 rename bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/{ERP5Site_viewPendingWorkList/page_title.xml => ERP5Web_viewMyTask/my_tasks_title.xml} (97%)

diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask.xml
new file mode 100644
index 0000000000..99fa0f82c0
--- /dev/null
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask.xml
@@ -0,0 +1,154 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <tuple>
+          <string>Products.ERP5Form.Report</string>
+          <string>ERP5Report</string>
+        </tuple>
+        <none/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>__ac_local_roles__</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary/>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_objects</string> </key>
+            <value>
+              <tuple/>
+            </value>
+        </item>
+        <item>
+            <key> <string>_owner</string> </key>
+            <value>
+              <none/>
+            </value>
+        </item>
+        <item>
+            <key> <string>action</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>encoding</string> </key>
+            <value> <string>UTF-8</string> </value>
+        </item>
+        <item>
+            <key> <string>enctype</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>group_list</string> </key>
+            <value>
+              <list>
+                <string>Default</string>
+                <string>right</string>
+                <string>center</string>
+                <string>bottom</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>groups</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>Default</string> </key>
+                    <value>
+                      <list>
+                        <string>my_tasks_title</string>
+                        <string>my_tasks_description</string>
+                      </list>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>bottom</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>center</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+                <item>
+                    <key> <string>right</string> </key>
+                    <value>
+                      <list/>
+                    </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>ERP5Web_viewMyTask</string> </value>
+        </item>
+        <item>
+            <key> <string>method</string> </key>
+            <value> <string>POST</string> </value>
+        </item>
+        <item>
+            <key> <string>name</string> </key>
+            <value> <string>ERP5Web_viewMyTask</string> </value>
+        </item>
+        <item>
+            <key> <string>pt</string> </key>
+            <value> <string>report_list</string> </value>
+        </item>
+        <item>
+            <key> <string>report_method</string> </key>
+            <value> <string>ERP5Web_getMyTaskSectionList</string> </value>
+        </item>
+        <item>
+            <key> <string>row_length</string> </key>
+            <value> <int>4</int> </value>
+        </item>
+        <item>
+            <key> <string>stored_encoding</string> </key>
+            <value> <string>UTF-8</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string>My Tasks</string> </value>
+        </item>
+        <item>
+            <key> <string>unicode_mode</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>update_action</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Site_viewPendingWorkList/breadcrumb.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask/my_tasks_description.xml
similarity index 94%
rename from bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Site_viewPendingWorkList/breadcrumb.xml
rename to bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask/my_tasks_description.xml
index 4df872b36f..45e83026e2 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Site_viewPendingWorkList/breadcrumb.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask/my_tasks_description.xml
@@ -14,7 +14,7 @@
       <dictionary>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>breadcrumb</string> </value>
+            <value> <string>my_tasks_description</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
@@ -199,7 +199,11 @@
                 </item>
                 <item>
                     <key> <string>default</string> </key>
-                    <value> <string></string> </value>
+                    <value> <string encoding="cdata"><![CDATA[
+
+<p>This page contains all documents which require your attention. Documents are grouped by workflow and by worklist. It is advisable to access this page <u>everyday</u> in order to help information flow quickly accross your organisation.</p>
+
+]]></string> </value>
                 </item>
                 <item>
                     <key> <string>description</string> </key>
@@ -215,7 +219,7 @@
                 </item>
                 <item>
                     <key> <string>editable</string> </key>
-                    <value> <int>1</int> </value>
+                    <value> <int>0</int> </value>
                 </item>
                 <item>
                     <key> <string>enabled</string> </key>
@@ -243,7 +247,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>medicentre_breadcrumbs</string> </value>
+                    <value> <string>my_tasks_description</string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
diff --git a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Site_viewPendingWorkList/page_title.xml b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask/my_tasks_title.xml
similarity index 97%
rename from bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Site_viewPendingWorkList/page_title.xml
rename to bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask/my_tasks_title.xml
index 5f1d00aeb0..705e28b8eb 100644
--- a/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Site_viewPendingWorkList/page_title.xml
+++ b/bt5/erp5_web/SkinTemplateItem/portal_skins/erp5_web/ERP5Web_viewMyTask/my_tasks_title.xml
@@ -14,7 +14,7 @@
       <dictionary>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>page_title</string> </value>
+            <value> <string>my_tasks_title</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
@@ -199,7 +199,11 @@
                 </item>
                 <item>
                     <key> <string>default</string> </key>
-                    <value> <string>My Tasks</string> </value>
+                    <value> <string encoding="cdata"><![CDATA[
+
+<h1>My Tasks</h1>
+
+]]></string> </value>
                 </item>
                 <item>
                     <key> <string>description</string> </key>
@@ -243,7 +247,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>My Tasks</string> </value>
+                    <value> <string>my_tasks_title</string> </value>
                 </item>
                 <item>
                     <key> <string>truncate</string> </key>
-- 
2.30.9