Commit 7f471a4b authored by Rafael Monnerat's avatar Rafael Monnerat

Improved the condition to show or not show the Item List

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@21332 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 38f763fc
...@@ -20,7 +20,9 @@ ...@@ -20,7 +20,9 @@
<value> <value>
<list> <list>
<string>title</string> <string>title</string>
<string>base_category</string>
<string>portal_type</string> <string>portal_type</string>
<string>catalog_index</string>
<string>enabled</string> <string>enabled</string>
</list> </list>
</value> </value>
...@@ -63,6 +65,14 @@ ...@@ -63,6 +65,14 @@
<key> <string>tales</string> </key> <key> <string>tales</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>base_category</string> </key>
<value> <string></string> </value>
</item>
<item>
<key> <string>catalog_index</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <value>
...@@ -98,6 +108,14 @@ ...@@ -98,6 +108,14 @@
<key> <string>values</string> </key> <key> <string>values</string> </key>
<value> <value>
<dictionary> <dictionary>
<item>
<key> <string>base_category</string> </key>
<value> <string>aggregate</string> </value>
</item>
<item>
<key> <string>catalog_index</string> </key>
<value> <string>aggregate</string> </value>
</item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <int>1</int> </value> <value> <int>1</int> </value>
...@@ -146,7 +164,7 @@ ...@@ -146,7 +164,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python: (here.getResource() and here.getResourceValue().getAggregatedPortalTypeList()) or here.getAggregate()</string> </value> <value> <string>python: (here.getResource() and here.getResourceValue().getAggregatedPortalTypeList()) or (here.getAggregate()) or (here.getResource() is None and here.getPortalItemTypeList())</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
374 375
\ No newline at end of file \ No newline at end of file
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