mirror of
https://github.com/silverstripe/silverstripe-docsviewer
synced 2024-10-22 11:05:56 +02:00
0b91b91e33
This continues on the migration to the Manifest. Instead of using calls to a `Service` now all file related lookups are done through the `DocumentationManifest`
21 lines
511 B
Scheme
21 lines
511 B
Scheme
<div id="sidebar" class="box">
|
|
<ul class="nav">
|
|
<% loop Entities %>
|
|
<% if DefaultEntity %>
|
|
|
|
<% else %>
|
|
<li><a href="$Link" class="$LinkingMode top">$Title <% if IsFolder %><span class="is-folder">►</span><% end_if %></a>
|
|
<% if LinkingMode == current %>
|
|
<% if Children %>
|
|
<ul>
|
|
<% loop Children %>
|
|
<li><a href="$Link" class="$LinkingMode">$Title</a></li>
|
|
<% end_loop %>
|
|
</ul><% end_if %>
|
|
<% end_if %>
|
|
</li>
|
|
<% end_if %>
|
|
<% end_loop %>
|
|
</ul>
|
|
</div>
|