Commit 6a804a4d authored by Kevin Deldycke's avatar Kevin Deldycke

Add more details as listbox column.

Use custom template to render the listbox.
Reduce the number of displayed lines to 10;
Use ERP5Web_getVerboseTitle generic script to render the title.
Only display web page and web sections.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@8583 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 80a6d814
...@@ -334,7 +334,7 @@ ...@@ -334,7 +334,7 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title_or_id</string> <string>ERP5Web_getVerboseTitle</string>
<string>Title</string> <string>Title</string>
</tuple> </tuple>
<tuple> <tuple>
...@@ -342,8 +342,32 @@ ...@@ -342,8 +342,32 @@
<string>Description</string> <string>Description</string>
</tuple> </tuple>
<tuple> <tuple>
<string>portal_type</string> <string>reference</string>
<string>Type</string> <string>Code</string>
</tuple>
<tuple>
<string>version</string>
<string>Version</string>
</tuple>
<tuple>
<string>language</string>
<string>Language</string>
</tuple>
<tuple>
<string>modification_date</string>
<string>Last Change</string>
</tuple>
<tuple>
<string>programme</string>
<string>Programme</string>
</tuple>
<tuple>
<string>service</string>
<string>Service</string>
</tuple>
<tuple>
<string>theme</string>
<string>Theme</string>
</tuple> </tuple>
</list> </list>
</value> </value>
...@@ -368,7 +392,7 @@ ...@@ -368,7 +392,7 @@
</item> </item>
<item> <item>
<key> <string>description</string> </key> <key> <string>description</string> </key>
<value> <string>Search results</string> </value> <value> <string></string> </value>
</item> </item>
<item> <item>
<key> <string>domain_root_list</string> </key> <key> <string>domain_root_list</string> </key>
...@@ -387,7 +411,24 @@ ...@@ -387,7 +411,24 @@
<item> <item>
<key> <string>editable_columns</string> </key> <key> <string>editable_columns</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>modification_date</string>
<string>Last Change</string>
</tuple>
<tuple>
<string>programme</string>
<string>Programme</string>
</tuple>
<tuple>
<string>service</string>
<string>Service</string>
</tuple>
<tuple>
<string>theme</string>
<string>Theme</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -418,7 +459,7 @@ ...@@ -418,7 +459,7 @@
</item> </item>
<item> <item>
<key> <string>lines</string> </key> <key> <string>lines</string> </key>
<value> <int>30</int> </value> <value> <int>10</int> </value>
</item> </item>
<item> <item>
<key> <string>list_action</string> </key> <key> <string>list_action</string> </key>
...@@ -440,10 +481,23 @@ ...@@ -440,10 +481,23 @@
<list/> <list/>
</value> </value>
</item> </item>
<item>
<key> <string>page_template</string> </key>
<value> <string>ListBox_asWebStyleSearchResultHTML</string> </value>
</item>
<item> <item>
<key> <string>portal_types</string> </key> <key> <string>portal_types</string> </key>
<value> <value>
<list/> <list>
<tuple>
<string>Web Page</string>
<string>Web Page</string>
</tuple>
<tuple>
<string>Web Section</string>
<string>Web Section</string>
</tuple>
</list>
</value> </value>
</item> </item>
<item> <item>
...@@ -509,16 +563,20 @@ ...@@ -509,16 +563,20 @@
<value> <value>
<list> <list>
<tuple> <tuple>
<string>title_or_id</string> <string>description</string>
<string>WebSite_getListboxUrl</string> <string>None</string>
</tuple> </tuple>
<tuple> <tuple>
<string>description</string> <string>language</string>
<string>WebSite_getListboxUrl</string> <string>None</string>
</tuple>
<tuple>
<string>version</string>
<string>None</string>
</tuple> </tuple>
<tuple> <tuple>
<string>portal_type</string> <string>modification_date</string>
<string>WebSite_getListboxUrl</string> <string>None</string>
</tuple> </tuple>
</list> </list>
</value> </value>
......
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