federationscopemenu.handlebars 697 B

123456789101112131415161718192021222324252627
  1. <ul>
  2. {{#each items}}
  3. {{#unless hidden}}
  4. <li>
  5. {{#if disabled}}
  6. <div class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}} disabled" data-action="{{name}}">
  7. {{else}}
  8. <a href="#" class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}}" data-action="{{name}}">
  9. {{/if}}
  10. {{#if iconClass}}
  11. <span class="icon {{iconClass}}"></span>
  12. {{else}}
  13. <span class="no-icon"></span>
  14. {{/if}}
  15. <p>
  16. <strong class="menuitem-text">{{displayName}}</strong><br>
  17. <span class="menuitem-text-detail">{{tooltip}}</span>
  18. </p>
  19. {{#if disabled}}
  20. </div>
  21. {{else}}
  22. </a>
  23. {{/if}}
  24. </li>
  25. {{/unless}}
  26. {{/each}}
  27. </ul>