diff options
author | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-22 23:37:09 +0300 |
---|---|---|
committer | Annabel Dunstone Gray <annabel.dunstone@gmail.com> | 2017-06-22 23:37:09 +0300 |
commit | 0c351e2142ae3be82e5d750f7e7f0bff7432ec67 (patch) | |
tree | c437fda0d28bb096cd204c7dfe2f676797fed681 /app/assets/javascripts/users_select.js | |
parent | ab227473cd41a29bfc1865d93251dffda8628c36 (diff) | |
parent | d49d63a04e567a32decd363bee8527b96898b52a (diff) |
Merge branch '33981-add-members-drop-down-doesn-t-separate-name-username' into 'master'
Resolve ""Add Members" drop-down doesn't separate Name/Username"
Closes #33981
See merge request !12376
Diffstat (limited to 'app/assets/javascripts/users_select.js')
-rw-r--r-- | app/assets/javascripts/users_select.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/users_select.js b/app/assets/javascripts/users_select.js index ec45253e50b..46efdcf4202 100644 --- a/app/assets/javascripts/users_select.js +++ b/app/assets/javascripts/users_select.js @@ -643,7 +643,7 @@ UsersSelect.prototype.formatResult = function(user) { } else { avatar = gon.default_avatar_url; } - return "<div class='user-result " + (!user.username ? 'no-username' : void 0) + "'> <div class='user-image'><img class='avatar s24' src='" + avatar + "'></div> <div class='user-name'>" + user.name + "</div> <div class='user-username'>" + (user.username || "") + "</div> </div>"; + return "<div class='user-result " + (!user.username ? 'no-username' : void 0) + "'> <div class='user-image'><img class='avatar avatar-inline s32' src='" + avatar + "'></div> <div class='user-name dropdown-menu-user-full-name'>" + user.name + "</div> <div class='user-username dropdown-menu-user-username'>" + ("@" + user.username || "") + "</div> </div>"; }; UsersSelect.prototype.formatSelection = function(user) { |