silverstripe-docsviewer/templates/Includes/DocSubmenu.ss
2013-03-26 11:16:46 +01:00

15 lines
346 B
Scheme

<ul id="submenu">
<% loop Children %>
<li><a href="$Link" class="$LinkingMode">
$Title <% if IsFolder %><span class="is-folder">&#9658;</span><% end_if %>
</a>
<% if Children %>
<ul>
<% loop Children %>
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
<% end_loop %>
</ul><% end_if %>
</li>
<% end_loop %>
</ul>