-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsidebar.html.twig
39 lines (35 loc) · 1.08 KB
/
sidebar.html.twig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<div id="menu">
<a href="index.html">Index</a>
{% if project.indexes.classes is not empty %}
<h3>Classes</h3>
<ul>
{% for class in project.indexes.classes %}
<li class="class">{{ class|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
{% if project.indexes.interfaces is not empty %}
<h3>Interfaces</h3>
<ul>
{% for interface in project.indexes.interfaces %}
<li class="interface">{{ interface|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
{% if project.indexes.traits is not empty %}
<h3>Traits</h3>
<ul>
{% for trait in project.indexes.traits %}
<li class="trait">{{ trait|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
{% if project.indexes.enums is not empty %}
<h3>Enums</h3>
<ul>
{% for enum in project.indexes.enums %}
<li class="enum">{{ enum|route('class:short') }}</li>
{% endfor %}
</ul>
{% endif %}
</div>