Commit 995a37d4 authored by Roque's avatar Roque

erp5_web_renderjs_ui: layout configuration for header Add button

parent 67c1c248
......@@ -27,6 +27,7 @@
<script data-renderjs-configuration="app_view_reference" type="text/x-renderjs-configuration">${app_view_reference}</script>
<script data-renderjs-configuration="app_allowed_sub_types" type="text/x-renderjs-configuration">${app_allowed_sub_types}</script>
<script data-renderjs-configuration="header_jump_button" type="text/x-renderjs-configuration">${header_jump_button}</script>
<script data-renderjs-configuration="hide_header_add_button" type="text/x-renderjs-configuration">${hide_header_add_button}</script>
<script data-renderjs-configuration="app_actions" type="text/x-renderjs-configuration">${app_actions}</script>
<script src="rsvp.js"></script>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>976.29938.5240.21162</string> </value>
<value> <string>976.31162.3285.43212</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1560857882.99</float>
<float>1561025558.27</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -94,6 +94,7 @@
<string>my_configuration_app_actions</string>
<string>my_configuration_app_allowed_sub_types</string>
<string>my_configuration_app_view_action_reference</string>
<string>my_configuration_hide_header_add_button</string>
</list>
</value>
</item>
......
<?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>title</string>
</list>
</value>
</item>
<item>
<key> <string>id</string> </key>
<value> <string>my_configuration_hide_header_add_button</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>
</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>
</dictionary>
</value>
</item>
<item>
<key> <string>values</string> </key>
<value>
<dictionary>
<item>
<key> <string>field_id</string> </key>
<value> <string>my_checkbox</string> </value>
</item>
<item>
<key> <string>form_id</string> </key>
<value> <string>Base_viewFieldLibrary</string> </value>
</item>
<item>
<key> <string>title</string> </key>
<value> <string>Hide Header Add Button</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -53,7 +53,8 @@ mapping_dict = {
"site_keywords": web_section.getLayoutProperty("subject", default=""),
"app_view_reference": web_section.getLayoutProperty("configuration_app_view_action_reference", default=""),
"app_allowed_sub_types": web_section.getLayoutProperty("configuration_app_allowed_sub_types", default=""),
"header_jump_button": web_section.getLayoutProperty("configuration_header_jump_button", default=False),
"header_jump_button": web_section.getLayoutProperty("configuration_header_jump_button", default=0),
"hide_header_add_button": web_section.getLayoutProperty("configuration_hide_header_add_button", default=0),
"app_actions": web_section.getLayoutProperty("configuration_app_actions", default=""),
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment