Commit 3addf0ea authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

* display Subsection Widget only when visible subsections exist.


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@27397 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 2dbe9839
...@@ -64,6 +64,10 @@ ...@@ -64,6 +64,10 @@
<persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent> <persistent> <string encoding="base64">AAAAAAAAAAI=</string> </persistent>
</value> </value>
</item> </item>
<item>
<key> <string>editable</string> </key>
<value> <string></string> </value>
</item>
<item> <item>
<key> <string>enabled</string> </key> <key> <string>enabled</string> </key>
<value> <value>
...@@ -82,6 +86,10 @@ ...@@ -82,6 +86,10 @@
<key> <string>target</string> </key> <key> <string>target</string> </key>
<value> <string></string> </value> <value> <string></string> </value>
</item> </item>
<item>
<key> <string>title</string> </key>
<value> <string></string> </value>
</item>
</dictionary> </dictionary>
</value> </value>
</item> </item>
...@@ -150,7 +158,7 @@ ...@@ -150,7 +158,7 @@
<dictionary> <dictionary>
<item> <item>
<key> <string>_text</string> </key> <key> <string>_text</string> </key>
<value> <string>python:len(request.current_web_section.contentValues())</string> </value> <value> <string>python:request.current_web_section.getPortalType() != \'Web Site\' and len(here.getSiteMapTree(depth=1, include_document=False))</string> </value>
</item> </item>
</dictionary> </dictionary>
</pickle> </pickle>
......
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