MDL-55074 theme_boost: Navigation and blocks
[moodle.git] / theme / boost / templates / flat_navigation.mustache
1 <nav class="nav nav-stacked nav-pills">
2 {{# flatnavigation }}
3     {{#get_smscreenonly}}
4     <div class="hidden-lg-up">
5     {{/get_smscreenonly}}
6     {{#showdivider}}
7     <div class="nav-item"><hr></div>
8     {{/showdivider}}
9     {{#action}}
10     <div class="nav-item"><a class="nav-link {{#isactive}}active{{/isactive}} m-l-{{get_indent}}" href="{{{action}}}">{{text}}</a></div>
11     {{/action}}
12     {{^action}}
13     <div class="nav-item"><span class="nav-link m-l-{{get_indent}}">{{text}}</span></div>
14     {{/action}}
15     {{#get_smscreenonly}}
16     </div>
17     {{/get_smscreenonly}}
18 {{/ flatnavigation }}
19 </div>