From 49be11d508ff1832552bec2bb7171c657f36af31 Mon Sep 17 00:00:00 2001
From: Alain Takoudjou <alain.takoudjou@nexedi.com>
Date: Mon, 17 Aug 2015 11:40:26 +0000
Subject: [PATCH] slapos_web: Improve the display of service list and hosting
 subscription (short title and description)

---
 ...> HostingSubscription_editFieldsAsWeb.xml} |   5 +-
 .../my_edit_button.xml}                       |   6 +-
 .../my_reference.xml                          |   0
 .../my_section_title.xml                      |   2 +-
 .../my_source_reference.xml                   |   0
 .../my_title.xml                              | 106 ++++++++++++++
 .../my_url_string.xml                         |   0
 .../your_description.xml                      |   0
 .../your_new_title.xml                        |   0
 .../HostingSubscription_renameWebMode.xml     |   2 +-
 .../my_rename_button.xml                      |   4 +-
 ...tion_getCurrentHostingSubscriptionList.xml |   2 +-
 .../WebSection_viewMyServicesRender.xml       |   1 +
 .../listbox.xml                               |  38 ++++-
 .../listbox_title.xml                         | 137 ++++++++++++++++++
 .../vifib_style/vifib.css.xml                 |  11 +-
 16 files changed, 300 insertions(+), 14 deletions(-)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb.xml => HostingSubscription_editFieldsAsWeb.xml} (96%)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb/my_rename_button.xml => HostingSubscription_editFieldsAsWeb/my_edit_button.xml} (96%)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb => HostingSubscription_editFieldsAsWeb}/my_reference.xml (100%)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb => HostingSubscription_editFieldsAsWeb}/my_section_title.xml (98%)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb => HostingSubscription_editFieldsAsWeb}/my_source_reference.xml (100%)
 create mode 100644 master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_title.xml
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb => HostingSubscription_editFieldsAsWeb}/my_url_string.xml (100%)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb => HostingSubscription_editFieldsAsWeb}/your_description.xml (100%)
 rename master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/{HostingSubscription_renameAsWeb => HostingSubscription_editFieldsAsWeb}/your_new_title.xml (100%)
 create mode 100644 master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox_title.xml

diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb.xml
similarity index 96%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb.xml
index f29510f9a..9066334f2 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb.xml
@@ -89,11 +89,12 @@
                       <list>
                         <string>my_section_title</string>
                         <string>my_url_string</string>
+                        <string>my_title</string>
                         <string>my_reference</string>
                         <string>my_source_reference</string>
                         <string>your_new_title</string>
                         <string>your_description</string>
-                        <string>my_rename_button</string>
+                        <string>my_edit_button</string>
                       </list>
                     </value>
                 </item>
@@ -114,7 +115,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>HostingSubscription_renameAsWeb</string> </value>
+            <value> <string>HostingSubscription_editFieldsAsWeb</string> </value>
         </item>
         <item>
             <key> <string>method</string> </key>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_rename_button.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_edit_button.xml
similarity index 96%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_rename_button.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_edit_button.xml
index a6f524335..15fb5daa3 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_rename_button.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_edit_button.xml
@@ -20,7 +20,7 @@
         </item>
         <item>
             <key> <string>id</string> </key>
-            <value> <string>my_rename_button</string> </value>
+            <value> <string>my_edit_button</string> </value>
         </item>
         <item>
             <key> <string>message_values</string> </key>
@@ -101,7 +101,7 @@
                 </item>
                 <item>
                     <key> <string>default</string> </key>
-                    <value> <string>Rename</string> </value>
+                    <value> <string>Edit</string> </value>
                 </item>
                 <item>
                     <key> <string>enabled</string> </key>
@@ -125,7 +125,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Rename</string> </value>
+                    <value> <string>Edit</string> </value>
                 </item>
               </dictionary>
             </value>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_reference.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_reference.xml
similarity index 100%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_reference.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_reference.xml
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_section_title.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_section_title.xml
similarity index 98%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_section_title.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_section_title.xml
index cc3d1ea48..52dce615c 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_section_title.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_section_title.xml
@@ -118,7 +118,7 @@
             <key> <string>_text</string> </key>
             <value> <string encoding="cdata"><![CDATA[
 
-python:"<h1>Rename: %s</h1>" % (context.getTranslatedTitle())
+python:"<h1>Edit: %s</h1>" % (context.getTranslatedTitle())
 
 ]]></string> </value>
         </item>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_source_reference.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_source_reference.xml
similarity index 100%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_source_reference.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_source_reference.xml
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_title.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_title.xml
new file mode 100644
index 000000000..246d2eb32
--- /dev/null
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_title.xml
@@ -0,0 +1,106 @@
+<?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>css_class</string>
+                <string>editable</string>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>my_title</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>css_class</string> </key>
+                    <value> <string>inline</string> </value>
+                </item>
+                <item>
+                    <key> <string>editable</string> </key>
+                    <value> <int>0</int> </value>
+                </item>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string>my_string_field</string> </value>
+                </item>
+                <item>
+                    <key> <string>form_id</string> </key>
+                    <value> <string>Base_viewWebFieldLibrary</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>Title</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_url_string.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_url_string.xml
similarity index 100%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/my_url_string.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/my_url_string.xml
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/your_description.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/your_description.xml
similarity index 100%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/your_description.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/your_description.xml
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/your_new_title.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/your_new_title.xml
similarity index 100%
rename from master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameAsWeb/your_new_title.xml
rename to master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_editFieldsAsWeb/your_new_title.xml
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameWebMode.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameWebMode.xml
index 956051fba..b1e2b072f 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameWebMode.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_renameWebMode.xml
@@ -58,7 +58,7 @@ if \'field_your_new_title\' in request:\n
   context.edit(short_title=request[\'field_your_new_title\'], description=request.get(\'field_your_description\', \'\'))\n
   return context.Base_redirect(\'view\', keep_items={\'portal_status_message\':context.Base_translateString(\'Hosting subscription edited.\')})\n
 \n
-return context.Base_redirect(\'HostingSubscription_renameAsWeb\', keep_items={})\n
+return context.Base_redirect(\'HostingSubscription_editFieldsAsWeb\', keep_items={})\n
 </string> </value>
         </item>
         <item>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_rename_button.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_rename_button.xml
index e74633323..cbf7ac994 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_rename_button.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/HostingSubscription_viewAsWeb/my_rename_button.xml
@@ -97,7 +97,7 @@
                 </item>
                 <item>
                     <key> <string>default</string> </key>
-                    <value> <string>Rename Hosting Subscription</string> </value>
+                    <value> <string>Edit short title and description</string> </value>
                 </item>
                 <item>
                     <key> <string>enabled</string> </key>
@@ -121,7 +121,7 @@
                 </item>
                 <item>
                     <key> <string>title</string> </key>
-                    <value> <string>Rename Hosting Subscription</string> </value>
+                    <value> <string>Edit short title and description</string> </value>
                 </item>
               </dictionary>
             </value>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getCurrentHostingSubscriptionList.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getCurrentHostingSubscriptionList.xml
index a60a46d6b..3befd7c54 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getCurrentHostingSubscriptionList.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_getCurrentHostingSubscriptionList.xml
@@ -58,7 +58,7 @@ if person is not None:\n
     portal_type="Hosting Subscription",\n
     default_destination_section_uid=person.getUid(),\n
     validation_state=\'validated\',\n
-    sort_on=((\'title\', ),)\n
+    **kw\n
     )\n
     \n
 return []\n
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender.xml
index 77baea92d..ac6119acf 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender.xml
@@ -88,6 +88,7 @@
                     <value>
                       <list>
                         <string>listbox_image</string>
+                        <string>listbox_title</string>
                       </list>
                     </value>
                 </item>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox.xml
index e682876f1..fd860cef6 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox.xml
@@ -11,6 +11,7 @@
             <value>
               <list>
                 <string>columns</string>
+                <string>default_params</string>
                 <string>editable_columns</string>
                 <string>list_method</string>
                 <string>search</string>
@@ -58,6 +59,14 @@
             <key> <string>tales</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>columns</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>editable_columns</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>field_id</string> </key>
                     <value> <string></string> </value>
@@ -70,6 +79,14 @@
                     <key> <string>list_method</string> </key>
                     <value> <string></string> </value>
                 </item>
+                <item>
+                    <key> <string>search</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>select</string> </key>
+                    <value> <string></string> </value>
+                </item>
                 <item>
                     <key> <string>selection_name</string> </key>
                     <value> <string></string> </value>
@@ -104,13 +121,28 @@
                       </list>
                     </value>
                 </item>
+                <item>
+                    <key> <string>default_params</string> </key>
+                    <value>
+                      <list>
+                        <tuple>
+                          <string>checked_permission</string>
+                          <string>View</string>
+                        </tuple>
+                        <tuple>
+                          <string>sort_on</string>
+                          <string>((\'title\', ),)</string>
+                        </tuple>
+                      </list>
+                    </value>
+                </item>
                 <item>
                     <key> <string>editable_columns</string> </key>
                     <value>
                       <list>
                         <tuple>
-                          <string>image</string>
-                          <string>image</string>
+                          <string>title</string>
+                          <string>Title</string>
                         </tuple>
                       </list>
                     </value>
@@ -131,7 +163,7 @@
                 </item>
                 <item>
                     <key> <string>search</string> </key>
-                    <value> <int>0</int> </value>
+                    <value> <int>1</int> </value>
                 </item>
                 <item>
                     <key> <string>select</string> </key>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox_title.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox_title.xml
new file mode 100644
index 000000000..698da44d8
--- /dev/null
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_hosting/WebSection_viewMyServicesRender/listbox_title.xml
@@ -0,0 +1,137 @@
+<?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>css_class</string>
+                <string>default</string>
+                <string>title</string>
+              </list>
+            </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>listbox_title</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>css_class</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
+                    <value>
+                      <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
+                    </value>
+                </item>
+                <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>
+                <item>
+                    <key> <string>title</string> </key>
+                    <value> <string></string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+        <item>
+            <key> <string>values</string> </key>
+            <value>
+              <dictionary>
+                <item>
+                    <key> <string>css_class</string> </key>
+                    <value> <string>nolabel</string> </value>
+                </item>
+                <item>
+                    <key> <string>default</string> </key>
+                    <value> <string></string> </value>
+                </item>
+                <item>
+                    <key> <string>field_id</string> </key>
+                    <value> <string>my_editor_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>Title</string> </value>
+                </item>
+              </dictionary>
+            </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+  <record id="2" aka="AAAAAAAAAAI=">
+    <pickle>
+      <global name="TALESMethod" module="Products.Formulator.TALESField"/>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+python: "<h3 style=\'margin-bottom: 6px;\'>%s</h3><i class=\'hs-short-title\'>%s</i>" % (cell.getTitle(), cell.getShortTitle() if cell.getShortTitle() else "")
+
+]]></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>
diff --git a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml
index 870e41423..d2c03a71a 100644
--- a/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml
+++ b/master/bt5/slapos_web/SkinTemplateItem/portal_skins/vifib_jauks_theme/vifib_style/vifib.css.xml
@@ -65,6 +65,7 @@ input{height:26px;}\n
 /* textarea{height:77px;width:247px;} */\n
 fieldset{border:none;}\n
 a img{border : 0 none;cursor : pointer;}\n
+a {text-decoration: none}\n
 \n
 /**********************/\n
 /*    Global Class    */\n
@@ -91,7 +92,7 @@ a img{border : 0 none;cursor : pointer;}\n
 .sectionTitle {line-height:90px;}\n
 .inline label {display: inline-block;width: 150px;float:left;}\n
 .inline div {display:inline;}\n
-.field {padding-bottom: 3px;}\n
+.field {padding-bottom: 7px;}\n
 \n
 \n
 /**********************/\n
@@ -295,6 +296,14 @@ div.slapos-parameter-dict-key {\n
   text-decoration: none;\n
 }\n
 \n
+.hs-short-title{\n
+  margin-left:6px;\n
+  padding-bottom: 10px;\n
+  font-size:12px;\n
+  font-weight: normal;\n
+  display: inline-block;\n
+}\n
+\n
 </tal:block>
 
 ]]></unicode> </value>
-- 
2.30.9