Merge branch 'MDL-62145-master' of git://github.com/damyon/moodle
[moodle.git] / theme / boost / templates / core / custom_menu_item.mustache
CommitLineData
f130c411
DW
1{{^divider}}
2{{#haschildren}}
3ec69c2e 3<li class="dropdown nav-item">
805f078b 4 <a class="dropdown-toggle nav-link" id="drop-down-{{uniqid}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#" aria-controls="drop-down-menu-{{uniqid}}">
000355f2 5 {{{text}}}
f130c411 6 </a>
805f078b 7 <div class="dropdown-menu" role="menu" id="drop-down-menu-{{uniqid}}" aria-labelledby="drop-down-{{uniqid}}">
f130c411
DW
8 {{#children}}
9 {{^divider}}
805f078b 10 <a class="dropdown-item" role="menuitem" href="{{{url}}}" {{#title}}title="{{{title}}}"{{/title}}>{{{text}}}</a>
f130c411
DW
11 {{/divider}}
12 {{#divider}}
191a1c7c 13 <div class="dropdown-divider" role="presentation"></div>
f130c411
DW
14 {{/divider}}
15 {{/children}}
16 </div>
3ec69c2e 17</li>
f130c411
DW
18{{/haschildren}}
19{{^haschildren}}
3ec69c2e 20<li class="nav-item">
000355f2 21 <a class="nav-item nav-link" href="{{{url}}}" {{#title}}title="{{{title}}}"{{/title}}>{{{text}}}</a>
3ec69c2e 22</li>
f130c411
DW
23{{/haschildren}}
24{{/divider}}