]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use displayname
authorJohn Molakvoæ <skjnldsv@users.noreply.github.com>
Tue, 29 Nov 2016 10:24:35 +0000 (11:24 +0100)
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Tue, 29 Nov 2016 11:17:27 +0000 (12:17 +0100)
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
core/js/sharedialogshareelistview.js

index 226f18b2d76db43a744e46e533cb3e1181a227a5..7fcda92d5fdc687ad8c81b33ee5b9f495ec45020 100644 (file)
@@ -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">' +
                                                $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'));
                                        }
                                });
                        }