diff options
author | John Molakvoæ <skjnldsv@users.noreply.github.com> | 2016-11-29 11:24:35 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2016-11-29 12:17:27 +0100 |
commit | 1d50cab1c6aed0229b4d0fb8ddcb805b335cb321 (patch) | |
tree | a6833a3b15023615847bdfcfec6b7a1873a82f0c /core/js/sharedialogshareelistview.js | |
parent | e8ea9a5d276369c83d98ba4efe9bc969d06a9148 (diff) | |
download | nextcloud-server-1d50cab1c6aed0229b4d0fb8ddcb805b335cb321.tar.gz nextcloud-server-1d50cab1c6aed0229b4d0fb8ddcb805b335cb321.zip |
Use displayname
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'core/js/sharedialogshareelistview.js')
-rw-r--r-- | core/js/sharedialogshareelistview.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index 226f18b2d76..7fcda92d5fd 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -22,7 +22,7 @@ '{{#each sharees}}' + '<li data-share-id="{{shareId}}" data-share-type="{{shareType}}" data-share-with="{{shareWith}}">' + '{{#if avatarEnabled}}' + - '<div class="avatar {{#if modSeed}}imageplaceholderseed{{/if}}" data-username="{{shareWith}}" {{#if modSeed}}data-seed="{{shareWith}} {{shareType}}"{{/if}}></div>' + + '<div class="avatar {{#if modSeed}}imageplaceholderseed{{/if}}" data-username="{{shareWith}}" data-displayname="{{shareWithDisplayName}}" {{#if modSeed}}data-seed="{{shareWith}} {{shareType}}"{{/if}}></div>' + '{{/if}}' + '<span class="has-tooltip username" title="{{shareWithTitle}}">{{shareWithDisplayName}}</span>' + '<span class="sharingOptionsGroup">' + @@ -269,7 +269,8 @@ $this.css({width: 32, height: 32}); $this.imageplaceholder($this.data('seed')); } else { - $this.avatar($this.data('username'), 32); + // user, size, ie8fix, hidedefault, callback, displayname + $this.avatar($this.data('username'), 32, undefined, undefined, undefined, $this.data('displayname')); } }); } |