Initial commit
This commit is contained in:
22
templates/custom_menu_item.mustache
Normal file
22
templates/custom_menu_item.mustache
Normal file
@@ -0,0 +1,22 @@
|
||||
{{^divider}}
|
||||
{{#haschildren}}
|
||||
<span class="dropdown nav-item ps">
|
||||
<a class="dropdown-toggle nav-link" id="drop-down-{{uniqid}}" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false" href="#">
|
||||
{{text}}
|
||||
</a>
|
||||
<div class="dropdown-menu ps" aria-labelledby="drop-down-{{uniqid}}">
|
||||
{{#children}}
|
||||
{{^divider}}
|
||||
<a class="dropdown-item" href="{{{url}}}" {{#title}}title="{{{title}}}"{{/title}}>{{text}}</a>
|
||||
{{/divider}}
|
||||
{{#divider}}
|
||||
<div class="dropdown-divider"></div>
|
||||
{{/divider}}
|
||||
{{/children}}
|
||||
</div>
|
||||
</span>
|
||||
{{/haschildren}}
|
||||
{{^haschildren}}
|
||||
<a class="nav-item nav-link" href="{{{url}}}" {{#title}}title="{{{title}}}"{{/title}}>{{text}}</a>
|
||||
{{/haschildren}}
|
||||
{{/divider}}
|
||||
Reference in New Issue
Block a user