Commit 82ce9be0 authored by Jérome Perrin's avatar Jérome Perrin

web: fix "Default Pages" on web sites/web sections

This relation field is used to select the web pages that will be displayed,
by using the standard ERP5 document management feature of selecting the
best applicable page with the same reference, but this list did not show
the reference of the web page
parent 5560a450
...@@ -12,8 +12,10 @@ ...@@ -12,8 +12,10 @@
<list> <list>
<string>base_category</string> <string>base_category</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>columns</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>proxy_listbox_ids</string>
<string>title</string> <string>title</string>
</list> </list>
</value> </value>
...@@ -83,6 +85,45 @@ ...@@ -83,6 +85,45 @@
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
<value> <string>title</string> </value> <value> <string>title</string> </value>
</item> </item>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>short_title</string>
<string>Short Title</string>
</tuple>
<tuple>
<string>title</string>
<string>Long Title</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>version</string>
<string>Version</string>
</tuple>
<tuple>
<string>language</string>
<string>Language</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Links to Web Pages to display as default content of the current section</string> </value> <value> <string>Links to Web Pages to display as default content of the current section</string> </value>
...@@ -106,6 +147,17 @@ ...@@ -106,6 +147,17 @@
</list> </list>
</value> </value>
</item> </item>
<item>
<key> <string>proxy_listbox_ids</string> </key>
<value>
<list>
<tuple>
<string>WebPageModule_viewWebPageList/listbox</string>
<string>Web Pages</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string>Click to edit the target</string> </value> <value> <string>Click to edit the target</string> </value>
......
...@@ -10,12 +10,13 @@ ...@@ -10,12 +10,13 @@
<key> <string>delegated_list</string> </key> <key> <string>delegated_list</string> </key>
<value> <value>
<list> <list>
<string>base_category</string>
<string>catalog_index</string> <string>catalog_index</string>
<string>size</string> <string>columns</string>
<string>title</string>
<string>description</string> <string>description</string>
<string>portal_type</string> <string>portal_type</string>
<string>base_category</string> <string>proxy_listbox_ids</string>
<string>title</string>
</list> </list>
</value> </value>
</item> </item>
...@@ -84,6 +85,45 @@ ...@@ -84,6 +85,45 @@
<key> <string>catalog_index</string> </key> <key> <string>catalog_index</string> </key>
<value> <string>title</string> </value> <value> <string>title</string> </value>
</item> </item>
<item>
<key> <string>columns</string> </key>
<value>
<list>
<tuple>
<string>reference</string>
<string>Reference</string>
</tuple>
<tuple>
<string>short_title</string>
<string>Short Title</string>
</tuple>
<tuple>
<string>title</string>
<string>Long Title</string>
</tuple>
<tuple>
<string>description</string>
<string>Description</string>
</tuple>
<tuple>
<string>version</string>
<string>Version</string>
</tuple>
<tuple>
<string>language</string>
<string>Language</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Modification Date</string>
</tuple>
<tuple>
<string>translated_validation_state_title</string>
<string>State</string>
</tuple>
</list>
</value>
</item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Links to Web Pages to display as default content of the current section</string> </value> <value> <string>Links to Web Pages to display as default content of the current section</string> </value>
...@@ -108,8 +148,15 @@ ...@@ -108,8 +148,15 @@
</value> </value>
</item> </item>
<item> <item>
<key> <string>size</string> </key> <key> <string>proxy_listbox_ids</string> </key>
<value> <int>3</int> </value> <value>
<list>
<tuple>
<string>WebPageModule_viewWebPageList/listbox</string>
<string>Web Pages</string>
</tuple>
</list>
</value>
</item> </item>
<item> <item>
<key> <string>target</string> </key> <key> <string>target</string> </key>
......
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