BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
d49d63a0
Commit
d49d63a0
authored
Jun 22, 2017
by
Tim Zallmann
Committed by
Annabel Dunstone Gray
Jun 22, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolve ""Add Members" drop-down doesn't separate Name/Username"
parent
ab227473
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
users_select.js
app/assets/javascripts/users_select.js
+1
-1
No files found.
app/assets/javascripts/users_select.js
View file @
d49d63a0
...
...
@@ -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
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment