From 1e3062c1e4ba191a1f6aef97c867075cd40efc9f Mon Sep 17 00:00:00 2001
From: Romain Courteaud <romain@nexedi.com>
Date: Fri, 30 Sep 2016 14:23:35 +0000
Subject: [PATCH] [erp5_web_renderjs_ui] Reorder fields

Putting field in center increases the string field size for ERP5JS
---
 .../WebSection_viewRenderJSPreference.xml     | 29 ++++++++++++-------
 1 file changed, 19 insertions(+), 10 deletions(-)

diff --git a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml
index e439bdf152..619b5404f6 100644
--- a/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml
+++ b/bt5/erp5_web_renderjs_ui/SkinTemplateItem/portal_skins/erp5_web_renderjs/WebSection_viewRenderJSPreference.xml
@@ -61,6 +61,7 @@
               <list>
                 <string>left</string>
                 <string>right</string>
+                <string>center</string>
               </list>
             </value>
         </item>
@@ -68,30 +69,38 @@
             <key> <string>groups</string> </key>
             <value>
               <dictionary>
+                <item>
+                    <key> <string>center</string> </key>
+                    <value>
+                      <list>
+                        <string>my_configuration_content_security_policy</string>
+                        <string>my_configuration_x_frame_options</string>
+                      </list>
+                    </value>
+                </item>
                 <item>
                     <key> <string>left</string> </key>
                     <value>
                       <list>
                         <string>my_configuration_default_view_action_reference</string>
                         <string>my_configuration_view_action_category</string>
-                        <string>my_configuration_frontpage_gadget_url</string>
-                        <string>my_configuration_panel_gadget_url</string>
                         <string>my_configuration_application_title</string>
                         <string>my_configuration_hateoas_url</string>
-                        <string>my_configuration_manifest_url</string>
-                        <string>my_configuration_jio_gadget_url</string>
-                        <string>my_configuration_translation_gadget_url</string>
-                        <string>my_configuration_router_gadget_url</string>
-                        <string>my_configuration_header_gadget_url</string>
-                        <string>my_configuration_content_security_policy</string>
-                        <string>my_configuration_x_frame_options</string>
+                        <string>my_configuration_frontpage_gadget_url</string>
                       </list>
                     </value>
                 </item>
                 <item>
                     <key> <string>right</string> </key>
                     <value>
-                      <list/>
+                      <list>
+                        <string>my_configuration_panel_gadget_url</string>
+                        <string>my_configuration_manifest_url</string>
+                        <string>my_configuration_jio_gadget_url</string>
+                        <string>my_configuration_translation_gadget_url</string>
+                        <string>my_configuration_router_gadget_url</string>
+                        <string>my_configuration_header_gadget_url</string>
+                      </list>
                     </value>
                 </item>
               </dictionary>
-- 
2.30.9