From 2707511e9a6ea3a59c7e0665b6218d6cfaa59ade Mon Sep 17 00:00:00 2001
From: Tatuya Kamada <tatuya@nexedi.com>
Date: Wed, 4 Mar 2015 12:33:48 +0900
Subject: [PATCH] datepicker: Add a note for required css.

---
 ...40%40%40ERP5Site_getCssRelativeUrlList.xml | 74 +++++++++++++++++++
 bt5/erp5_datepicker_ui/bt/change_log          |  2 +-
 bt5/erp5_datepicker_ui/bt/comment             |  4 +-
 bt5/erp5_datepicker_ui/bt/dependency_list     |  1 +
 bt5/erp5_datepicker_ui/bt/revision            |  2 +-
 5 files changed, 79 insertions(+), 4 deletions(-)
 create mode 100644 bt5/erp5_datepicker_ui/SkinTemplateItem/portal_skins/erp5_datepicker_ui/README_HOWTO_CUSTOMISE%40%40%40ERP5Site_getCssRelativeUrlList.xml
 create mode 100644 bt5/erp5_datepicker_ui/bt/dependency_list

diff --git a/bt5/erp5_datepicker_ui/SkinTemplateItem/portal_skins/erp5_datepicker_ui/README_HOWTO_CUSTOMISE%40%40%40ERP5Site_getCssRelativeUrlList.xml b/bt5/erp5_datepicker_ui/SkinTemplateItem/portal_skins/erp5_datepicker_ui/README_HOWTO_CUSTOMISE%40%40%40ERP5Site_getCssRelativeUrlList.xml
new file mode 100644
index 0000000000..807d066c96
--- /dev/null
+++ b/bt5/erp5_datepicker_ui/SkinTemplateItem/portal_skins/erp5_datepicker_ui/README_HOWTO_CUSTOMISE%40%40%40ERP5Site_getCssRelativeUrlList.xml
@@ -0,0 +1,74 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="PythonScript" module="Products.PythonScripts.PythonScript"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>Script_magic</string> </key>
+            <value> <int>3</int> </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>
+                            <item>
+                                <key> <string>name_container</string> </key>
+                                <value> <string>container</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_context</string> </key>
+                                <value> <string>context</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_m_self</string> </key>
+                                <value> <string>script</string> </value>
+                            </item>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_body</string> </key>
+            <value> <string>"""\n
+\n
+ To extend your current ERP5Site_getCssRelativeUrlList,\n
+ first, find ERP5Site_getCssRelativeUrlList,\n
+ then put \'jquery/ui/css/erp5-theme/jquery-ui.css\' at the last.\n
+\n
+"""\n
+return (\'jquery/ui/css/erp5-theme/jquery-ui.css\',)\n
+</string> </value>
+        </item>
+        <item>
+            <key> <string>_params</string> </key>
+            <value> <string></string> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>README_HOWTO_CUSTOMISE@@@ERP5Site_getCssRelativeUrlList</string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/bt5/erp5_datepicker_ui/bt/change_log b/bt5/erp5_datepicker_ui/bt/change_log
index 9296680db1..b33a62ca29 100644
--- a/bt5/erp5_datepicker_ui/bt/change_log
+++ b/bt5/erp5_datepicker_ui/bt/change_log
@@ -1,2 +1,2 @@
 2015-03-04 tatuya
-* Initially add
\ No newline at end of file
+* Initially add
diff --git a/bt5/erp5_datepicker_ui/bt/comment b/bt5/erp5_datepicker_ui/bt/comment
index c6f2599e06..e2dd0dde08 100644
--- a/bt5/erp5_datepicker_ui/bt/comment
+++ b/bt5/erp5_datepicker_ui/bt/comment
@@ -1,2 +1,2 @@
-To enable date picker you must extend your ERP5Site_getJavaScriptRelativeUrlList!
-See 	README_HOWTO_CUSTOMISE@@@ERP5Site_getJavaScriptRelativeUrlList.
\ No newline at end of file
+To enable date picker you must extend your ERP5Site_getJavaScriptRelativeUrlList, ERP5Site_getCssRelativeUrlList.
+See	README_HOWTO_CUSTOMISE@@@ERP5Site_getJavaScriptRelativeUrlList, README_HOWTO_CUSTOMISE@@@ERP5Site_getCssRelativeUrlList.
\ No newline at end of file
diff --git a/bt5/erp5_datepicker_ui/bt/dependency_list b/bt5/erp5_datepicker_ui/bt/dependency_list
new file mode 100644
index 0000000000..b7f3564dde
--- /dev/null
+++ b/bt5/erp5_datepicker_ui/bt/dependency_list
@@ -0,0 +1 @@
+erp5_jquery_ui
\ No newline at end of file
diff --git a/bt5/erp5_datepicker_ui/bt/revision b/bt5/erp5_datepicker_ui/bt/revision
index 56a6051ca2..bf0d87ab1b 100644
--- a/bt5/erp5_datepicker_ui/bt/revision
+++ b/bt5/erp5_datepicker_ui/bt/revision
@@ -1 +1 @@
-1
\ No newline at end of file
+4
\ No newline at end of file
-- 
2.30.9