Commit 6905f82a authored by Romain Courteaud's avatar Romain Courteaud

Insert the sub list inside the parent list element, in order to get automatic indentation

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@19446 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 68d605ac
...@@ -111,23 +111,23 @@ Description:\n ...@@ -111,23 +111,23 @@ Description:\n
<a i18n:translate="" i18n:domain="ui" \n <a i18n:translate="" i18n:domain="ui" \n
tal:content="section/getTitle"\n tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url"/>\n tal:attributes="href section/absolute_url"/>\n
<ul>\n
<li tal:repeat="root_section python:section.contentValues(checked_permission=\'View\')">\n
<a tal:content="root_section/getTitle"\n
tal:condition="python:not len(root_section.contentValues())"\n
tal:attributes="href root_section/absolute_url"/>\n
<span tal:content="root_section/getTitle"\n
tal:condition="python:len(root_section.contentValues())"\n
onclick="toggleSection(this)" toggle="yes" style="cursor:pointer;"/>\n
<div style="display:none;visibility:hidden">\n
<ul>\n
<li tal:repeat="section root_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</div>\n
</li>\n
</ul>\n
</li>\n </li>\n
<ul>\n
<li tal:repeat="root_section python:section.contentValues(checked_permission=\'View\')">\n
<a tal:content="root_section/getTitle"\n
tal:condition="python:not len(root_section.contentValues())"\n
tal:attributes="href root_section/absolute_url"/>\n
<span tal:content="root_section/getTitle"\n
tal:condition="python:len(root_section.contentValues())"\n
onclick="toggleSection(this)" toggle="yes" style="cursor:pointer;"/>\n
<div style="display:none;visibility:hidden">\n
<ul>\n
<li tal:repeat="section root_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</div>\n
</li>\n
</ul>\n
</ul>\n </ul>\n
</tal:block>\n </tal:block>\n
</div>\n </div>\n
...@@ -140,23 +140,23 @@ Description:\n ...@@ -140,23 +140,23 @@ Description:\n
<a i18n:translate="" i18n:domain="ui" \n <a i18n:translate="" i18n:domain="ui" \n
tal:content="section/getTitle"\n tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url"/>\n tal:attributes="href section/absolute_url"/>\n
<ul>\n
<li tal:repeat="root_section python:section.contentValues(checked_permission=\'View\')">\n
<a tal:content="root_section/getTitle"\n
tal:condition="python:not len(root_section.contentValues())"\n
tal:attributes="href root_section/absolute_url"/>\n
<span tal:content="root_section/getTitle"\n
tal:condition="python:len(root_section.contentValues())"\n
onclick="toggleSection(this)" toggle="yes" style="cursor:pointer;"/>\n
<div style="display:none;visibility:hidden">\n
<ul>\n
<li tal:repeat="section root_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</div>\n
</li>\n
</ul>\n
</li>\n </li>\n
<ul>\n
<li tal:repeat="root_section python:section.contentValues(checked_permission=\'View\')">\n
<a tal:content="root_section/getTitle"\n
tal:condition="python:not len(root_section.contentValues())"\n
tal:attributes="href root_section/absolute_url"/>\n
<span tal:content="root_section/getTitle"\n
tal:condition="python:len(root_section.contentValues())"\n
onclick="toggleSection(this)" toggle="yes" style="cursor:pointer;"/>\n
<div style="display:none;visibility:hidden">\n
<ul>\n
<li tal:repeat="section root_section/contentValues"><a href="#" tal:content="section/getTitle"\n
tal:attributes="href section/absolute_url">Theme</a></li>\n
</ul>\n
</div>\n
</li>\n
</ul>\n
</ul>\n </ul>\n
</tal:block>\n </tal:block>\n
</div>\n </div>\n
......
624 625
\ 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