Commit b3cff650 authored by Roque's avatar Roque

erp5_web_renderjs_ui: new layout field "app view action reference"

parent d2a1aafd
......@@ -24,6 +24,7 @@
<script data-renderjs-configuration="default_selected_language" type="text/x-renderjs-configuration">${default_selected_language}</script>
<script data-renderjs-configuration="website_url_set" type="text/x-renderjs-configuration">${website_url_set}</script>
<script data-renderjs-configuration="service_worker_url" type="text/x-renderjs-configuration">${service_worker_url}</script>
<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="app_actions" type="text/x-renderjs-configuration">${app_actions}</script>
......
......@@ -234,7 +234,7 @@
</item>
<item>
<key> <string>serial</string> </key>
<value> <string>976.29813.2339.37410</string> </value>
<value> <string>976.29938.5240.21162</string> </value>
</item>
<item>
<key> <string>state</string> </key>
......@@ -252,7 +252,7 @@
</tuple>
<state>
<tuple>
<float>1560784444.79</float>
<float>1560857882.99</float>
<string>UTC</string>
</tuple>
</state>
......
......@@ -93,6 +93,7 @@
<string>my_configuration_header_jump_button</string>
<string>my_configuration_app_actions</string>
<string>my_configuration_app_allowed_sub_types</string>
<string>my_configuration_app_view_action_reference</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_app_view_action_reference</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>field_id</string> </key>
<value> <string>my_view_mode_reference</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>App View Action Reference</string> </value>
</item>
</dictionary>
</value>
</item>
</dictionary>
</pickle>
</record>
</ZopeData>
......@@ -51,6 +51,7 @@ mapping_dict = {
"website_url_set": json.dumps(website_url_set),
"site_description": web_section.getLayoutProperty("description", default=""),
"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),
"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