summaryrefslogtreecommitdiffstats
path: root/settings
diff options
context:
space:
mode:
authorChristoph Wurst <christoph@owncloud.com>2016-06-10 14:49:56 +0200
committerChristoph Wurst <christoph@owncloud.com>2016-06-10 14:49:56 +0200
commita9ea908413aa51c48739ea3e01811e36e819560c (patch)
tree95caad4d916d2b83260d3e792e7c87eb9eacb66a /settings
parentd0d1684588150b24fe2bbe63eddabe5f4621e061 (diff)
downloadnextcloud-server-a9ea908413aa51c48739ea3e01811e36e819560c.tar.gz
nextcloud-server-a9ea908413aa51c48739ea3e01811e36e819560c.zip
add tooltip to token names
Diffstat (limited to 'settings')
-rw-r--r--settings/js/authtoken_view.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/js/authtoken_view.js b/settings/js/authtoken_view.js
index 664dfd28148..47e6667925a 100644
--- a/settings/js/authtoken_view.js
+++ b/settings/js/authtoken_view.js
@@ -27,7 +27,7 @@
var TEMPLATE_TOKEN =
'<tr data-id="{{id}}">'
- + '<td>{{name}}</td>'
+ + '<td><span class="token-name" title="{{name}}">{{name}}</span></td>'
+ '<td><span class="last-activity" title="{{lastActivityTime}}">{{lastActivity}}</span></td>'
+ '<td><a class="icon-delete" title="' + t('core', 'Disconnect') + '"></a></td>'
+ '<tr>';
@@ -80,6 +80,7 @@
viewData.lastActivityTime = OC.Util.formatDate(ts, 'LLL');
var html = _this.template(viewData);
var $html = $(html);
+ $html.find('.token-name').tooltip();
$html.find('.last-activity').tooltip();
$html.find('.icon-delete').tooltip();
list.append($html);