Commit 7c14dad3 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

fixup! erp5_web: fix wrong XML structure for subsections in WebSite_viewSiteMapAsXML.

parent a9d34aa8
......@@ -17,12 +17,14 @@
<loc tal:content="menu_item/url" />
</url>
<tal:block metal:define-macro="generateTree">
<url tal:repeat="item menu_item/subsection">
<loc tal:content="item/url" />
</url>
<tal:recurse define="menu_item item" tal:condition="nocall:item/subsection">
<metal:call use-macro="here/WebSite_viewSiteMapAsXML/macros/generateTree" />
</tal:recurse>
<tal:block tal:repeat="item menu_item/subsection">
<url>
<loc tal:content="item/url" />
</url>
<tal:recurse define="menu_item item" tal:condition="nocall:item/subsection">
<metal:call use-macro="here/WebSite_viewSiteMapAsXML/macros/generateTree" />
</tal:recurse>
</tal:block>
</tal:block>
</tal:block>
</tal:block>
......
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