Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
5d71eb56
Commit
5d71eb56
authored
Mar 13, 2015
by
Joas Schilling
Browse files
Color avatars of non-existing users gray and display X instead
parent
61ec3743
Changes
1
Hide whitespace changes
Inline
Side-by-side
core/js/jquery.avatar.js
View file @
5d71eb56
...
...
@@ -85,7 +85,9 @@
if
(
result
.
data
&&
result
.
data
.
displayname
)
{
$div
.
imageplaceholder
(
user
,
result
.
data
.
displayname
);
}
else
{
$div
.
imageplaceholder
(
user
);
// User does not exist
$div
.
imageplaceholder
(
user
,
'
X
'
);
$div
.
css
(
'
background-color
'
,
'
#b9b9b9
'
);
}
}
else
{
$div
.
hide
();
...
...
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