summaryrefslogtreecommitdiffstats
path: root/core/js/sharedialogview.js
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@owncloud.com>2015-08-18 17:23:32 +0200
committerVincent Petry <pvince81@owncloud.com>2015-09-16 07:23:25 +0200
commit1bd6942be70da621da9acae56a23a39040ef24bf (patch)
tree6d81ae93c98ca20cf6f357df3c16d53cd06298d3 /core/js/sharedialogview.js
parente3fd96fa8ef2aa5b5fd3881e75b95c7a869895fa (diff)
downloadnextcloud-server-1bd6942be70da621da9acae56a23a39040ef24bf.tar.gz
nextcloud-server-1bd6942be70da621da9acae56a23a39040ef24bf.zip
show tooltips and load avatar
Diffstat (limited to 'core/js/sharedialogview.js')
-rw-r--r--core/js/sharedialogview.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/js/sharedialogview.js b/core/js/sharedialogview.js
index abf45a6bf45..5e3fb8b8d97 100644
--- a/core/js/sharedialogview.js
+++ b/core/js/sharedialogview.js
@@ -41,7 +41,7 @@
'</span><br />';
var TEMPLATE_REMOTE_SHARE_INFO =
- '<a target="_blank" class="icon-info svg shareWithRemoteInfo" href="{{docLink}}" ' +
+ '<a target="_blank" class="icon-info svg shareWithRemoteInfo hasTooltip" href="{{docLink}}" ' +
'title="{{tooltip}}"></a>';
var TEMPLATE_LINK_SHARE =
@@ -141,6 +141,9 @@
expiration: this._renderExpirationPart()
}));
+ this.$el.find('.hasTooltip').tooltip();
+ this.$el.find('.avatar').avatar(this.model.getReshareOwner, 32);
+
return this;
},
@@ -196,6 +199,7 @@
tooltip: t('core', 'Share with people on other ownClouds using the syntax username@example.com/owncloud')
});
}
+
return remoteShareInfo;
},