2018-10-15 11:44:24 +03:00
|
|
|
<ul>
|
|
|
|
{{#each items}}
|
2021-02-01 05:34:36 +03:00
|
|
|
{{#unless hidden}}
|
2019-03-22 13:58:53 +03:00
|
|
|
<li tabindex="0">
|
2021-02-01 05:34:36 +03:00
|
|
|
{{#if disabled}}
|
|
|
|
<div class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}} disabled" data-action="{{name}}">
|
|
|
|
{{else}}
|
2018-10-15 11:44:24 +03:00
|
|
|
<a href="#" class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}}" data-action="{{name}}">
|
2021-02-01 05:34:36 +03:00
|
|
|
{{/if}}
|
2018-10-15 11:44:24 +03:00
|
|
|
{{#if iconClass}}
|
|
|
|
<span class="icon {{iconClass}}"></span>
|
|
|
|
{{else}}
|
|
|
|
<span class="no-icon"></span>
|
|
|
|
{{/if}}
|
|
|
|
<p>
|
|
|
|
<strong class="menuitem-text">{{displayName}}</strong><br>
|
|
|
|
<span class="menuitem-text-detail">{{tooltip}}</span>
|
|
|
|
</p>
|
2021-02-01 05:34:36 +03:00
|
|
|
{{#if disabled}}
|
|
|
|
</div>
|
|
|
|
{{else}}
|
2018-10-15 11:44:24 +03:00
|
|
|
</a>
|
2021-02-01 05:34:36 +03:00
|
|
|
{{/if}}
|
2018-10-15 11:44:24 +03:00
|
|
|
</li>
|
2021-02-01 05:34:36 +03:00
|
|
|
{{/unless}}
|
2018-10-15 11:44:24 +03:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|