summaryrefslogtreecommitdiffstats
path: root/settings/js/federationscopemenu.js
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <hey@jancborchardt.net>2016-11-18 14:27:34 +0100
committerRoeland Jago Douma <roeland@famdouma.nl>2016-11-21 11:30:01 +0100
commite53e585e91d39addc95c660d9780adc766a6ebec (patch)
tree05f437f90dd129f7e5ba36772d9231796dcb1cfe /settings/js/federationscopemenu.js
parentc20c7f31da84ac1330707b3f23e75b9ade879206 (diff)
downloadnextcloud-server-e53e585e91d39addc95c660d9780adc766a6ebec.tar.gz
nextcloud-server-e53e585e91d39addc95c660d9780adc766a6ebec.zip
put explanatory text directly in popup
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Diffstat (limited to 'settings/js/federationscopemenu.js')
-rw-r--r--settings/js/federationscopemenu.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/settings/js/federationscopemenu.js b/settings/js/federationscopemenu.js
index e129f69fe9e..a5da04df918 100644
--- a/settings/js/federationscopemenu.js
+++ b/settings/js/federationscopemenu.js
@@ -16,7 +16,7 @@
'<ul>' +
'{{#each items}}' +
'<li>' +
- '<a href="#" class="menuitem action action-{{name}} permanent" data-action="{{name}}" title="{{tooltip}}">' +
+ '<a href="#" class="menuitem action action-{{name}} permanent {{#if active}}active{{/if}}" data-action="{{name}}">' +
'{{#if icon}}<img class="icon" src="{{icon}}"/>' +
'{{else}}'+
'{{#if iconClass}}' +
@@ -25,7 +25,8 @@
'<span class="no-icon"></span>' +
'{{/if}}' +
'{{/if}}' +
- '<span>{{displayName}}</span></a>' +
+ '<p><strong class="menuitem-text">{{displayName}}</strong><br>' +
+ '<span class="menuitem-text-detail">{{tooltip}}</span></p></a>' +
'</li>' +
'{{/each}}' +
'</ul>';
@@ -134,4 +135,3 @@
OC.Settings.FederationScopeMenu = FederationScopeMenu;
})();
-