From e7dd14eb632f8ab68aea276cd3eb01bee73a732d Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Mon, 29 Mar 2010 11:28:35 +0000
Subject: [PATCH] add creation date in listbox's module

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34180 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 ...stModule_viewDataProtectionRequestList.xml |   1 +
 .../listbox.xml                               |  16 +++
 .../listbox_creation_date.xml                 | 109 ++++++++++++++++++
 bt5/erp5_data_protection/bt/revision          |   2 +-
 4 files changed, 127 insertions(+), 1 deletion(-)
 create mode 100644 bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox_creation_date.xml

diff --git a/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml b/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml
index d04d4bb5f2..c015819f1b 100644
--- a/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml
+++ b/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList.xml
@@ -93,6 +93,7 @@
                     <value>
                       <list>
                         <string>listbox_agent_portal_type</string>
+                        <string>listbox_creation_date</string>
                       </list>
                     </value>
                 </item>
diff --git a/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml b/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml
index 44f8e095cb..0d1fa3717e 100644
--- a/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml
+++ b/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox.xml
@@ -104,6 +104,10 @@
                           <string>contributor_title</string>
                           <string>Requester</string>
                         </tuple>
+                        <tuple>
+                          <string>creation_date</string>
+                          <string>Creation Date</string>
+                        </tuple>
                         <tuple>
                           <string>translated_validation_state_title</string>
                           <string>State</string>
@@ -119,6 +123,10 @@
                           <string>agent_portal_type</string>
                           <string>Type</string>
                         </tuple>
+                        <tuple>
+                          <string>creation_date</string>
+                          <string>Creation Date</string>
+                        </tuple>
                       </list>
                     </value>
                 </item>
@@ -172,6 +180,10 @@
                           <string>contributor_title</string>
                           <string>Requester</string>
                         </tuple>
+                        <tuple>
+                          <string>creation_date</string>
+                          <string>Creation Date</string>
+                        </tuple>
                         <tuple>
                           <string>translated_validation_state_title</string>
                           <string>State</string>
@@ -203,6 +215,10 @@
                           <string>contributor_title</string>
                           <string>Requester</string>
                         </tuple>
+                        <tuple>
+                          <string>creation_date</string>
+                          <string>Creation Date</string>
+                        </tuple>
                         <tuple>
                           <string>translated_validation_state_title</string>
                           <string>State</string>
diff --git a/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox_creation_date.xml b/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox_creation_date.xml
new file mode 100644
index 0000000000..5d8edbd2e5
--- /dev/null
+++ b/bt5/erp5_data_protection/SkinTemplateItem/portal_skins/erp5_data_protection/DataProtectionRequestModule_viewDataProtectionRequestList/listbox_creation_date.xml
@@ -0,0 +1,109 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>delegated_list</string> </key>
+            <value>
+              <list>
+                <string>editable</string>
+                <string>required</string>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>listbox_creation_date</string> </value>
+        </item>
+        <item>
+            <key> <string>message_values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>external_validator_failed</string> </key>
+                    <value> <string>The input failed the external validator.</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>overrides</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>tales</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>target</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>editable</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string>your_date</string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string>Base_viewFieldLibrary</string> </value>
+                </item>
+                <item>
+                    <key> <string>required</string> </key>
+                    <value> <int>1</int> </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>listbox_creation_date</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_data_protection/bt/revision b/bt5/erp5_data_protection/bt/revision
index 597975b413..dce6588ca1 100644
--- a/bt5/erp5_data_protection/bt/revision
+++ b/bt5/erp5_data_protection/bt/revision
@@ -1 +1 @@
-35
\ No newline at end of file
+36
\ No newline at end of file
-- 
2.30.9