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 @@
<value>
<list>
<string>title</string>
<string>base_category</string>
<string>portal_type</string>
<string>catalog_index</string>
<string>enabled</string>
</list>
</value>
......@@ -63,6 +65,14 @@
<key> <string>tales</string> </key>
<value>
<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>
<key> <string>enabled</string> </key>
<value>
......@@ -98,6 +108,14 @@
<key> <string>values</string> </key>
<value>
<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>
<key> <string>enabled</string> </key>
<value> <int>1</int> </value>
......@@ -146,7 +164,7 @@
<dictionary>
<item>
<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>
</dictionary>
</pickle>
......
374
\ No newline at end of file
375
\ 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