Resolve ""Add Members" drop-down doesn't separate Name/Username"
This commit is contained in:
parent
ab227473cd
commit
d49d63a04e
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue