silverstripe-docsviewer/templates/Includes/DocSubmenu.ss

15 lines
346 B
Scheme
Raw Normal View History

<ul id="submenu">
2013-03-26 11:08:44 +01:00
<% loop Children %>
<li><a href="$Link" class="$LinkingMode">
$Title <% if IsFolder %><span class="is-folder">&#9658;</span><% end_if %>
</a>
<% if Children %>
<ul>
2013-03-26 11:08:44 +01:00
<% loop Children %>
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
2013-03-26 11:08:44 +01:00
<% end_loop %>
</ul><% end_if %>
</li>
2013-03-26 11:08:44 +01:00
<% end_loop %>
</ul>