From 3284ada5d196e59f3f80c21b08172621b8d39b8f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=C5=81ukasz=20Nowak?= <luke@nexedi.com>
Date: Tue, 14 Jun 2011 18:11:26 +0200
Subject: [PATCH] Show service level agreement.

---
 .../vifib_base/SoftwareInstance_view.xml      |   1 +
 .../SoftwareInstance_view/my_sla_xml.xml      | 101 ++++++++++++++++++
 master/bt5/vifib_base/bt/revision             |   2 +-
 3 files changed, 103 insertions(+), 1 deletion(-)
 create mode 100644 master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view/my_sla_xml.xml

diff --git a/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view.xml b/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view.xml
index 52af75126..8abcc0122 100644
--- a/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view.xml
+++ b/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view.xml
@@ -86,6 +86,7 @@
                         <string>my_ssl_key</string>
                         <string>my_ssl_certificate</string>
                         <string>my_description</string>
+                        <string>my_sla_xml</string>
                       </list>
                     </value>
                 </item>
diff --git a/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view/my_sla_xml.xml b/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view/my_sla_xml.xml
new file mode 100644
index 000000000..28e4fc0f8
--- /dev/null
+++ b/master/bt5/vifib_base/SkinTemplateItem/portal_skins/vifib_base/SoftwareInstance_view/my_sla_xml.xml
@@ -0,0 +1,101 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <global name="ProxyField" module="Products.ERP5Form.ProxyField"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>delegated_list</string> </key>
+            <value>
+              <list>
+                <string>editable</string>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>my_sla_xml</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>my_text_area_field</string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string>Base_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>Service Level Agreement XML</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/master/bt5/vifib_base/bt/revision b/master/bt5/vifib_base/bt/revision
index f71beab75..06690d5ee 100644
--- a/master/bt5/vifib_base/bt/revision
+++ b/master/bt5/vifib_base/bt/revision
@@ -1 +1 @@
-237
\ No newline at end of file
+238
\ No newline at end of file
-- 
2.30.9