diff options
Diffstat (limited to 'apps/settings/js/templates/federationscopemenu.handlebars')
-rw-r--r-- | apps/settings/js/templates/federationscopemenu.handlebars | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/apps/settings/js/templates/federationscopemenu.handlebars b/apps/settings/js/templates/federationscopemenu.handlebars index e5cfd942f46..5a2077d4fc3 100644 --- a/apps/settings/js/templates/federationscopemenu.handlebars +++ b/apps/settings/js/templates/federationscopemenu.handlebars @@ -1,7 +1,12 @@ <ul> {{#each items}} + {{#unless hidden}} <li> + {{#if disabled}} + <div class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}} disabled" data-action="{{name}}"> + {{else}} <a href="#" class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}}" data-action="{{name}}"> + {{/if}} {{#if iconClass}} <span class="icon {{iconClass}}"></span> {{else}} @@ -11,7 +16,12 @@ <strong class="menuitem-text">{{displayName}}</strong><br> <span class="menuitem-text-detail">{{tooltip}}</span> </p> + {{#if disabled}} + </div> + {{else}} </a> + {{/if}} </li> + {{/unless}} {{/each}} </ul> |