summaryrefslogtreecommitdiff
path: root/app/views/projects/project_members/_project_member.html.haml
diff options
context:
space:
mode:
authorSven Strickroth <email@cs-ware.de>2015-04-08 13:31:36 +0200
committerSven Strickroth <email@cs-ware.de>2015-04-13 21:07:42 +0200
commit57c2a9f03d9896d6b9358b8530f2e70f15cbdad3 (patch)
tree1744069772e0e8f9a20da0a87f0d64f55bed81fd /app/views/projects/project_members/_project_member.html.haml
parent7feec5fe051172ee055f3c82da22b1b330e13c74 (diff)
downloadgitlab-ce-57c2a9f03d9896d6b9358b8530f2e70f15cbdad3.tar.gz
Explicitly set image alt to prevent graphical glitches
Rails image_tag sets the alt-attribute to the filename which causes graphical glitches if the file could not be loaded. Fixes https://github.com/gitlabhq/gitlabhq/issues/6036. Signed-off-by: Sven Strickroth <email@cs-ware.de>
Diffstat (limited to 'app/views/projects/project_members/_project_member.html.haml')
-rw-r--r--app/views/projects/project_members/_project_member.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/project_members/_project_member.html.haml b/app/views/projects/project_members/_project_member.html.haml
index a07d0762334..4f053977215 100644
--- a/app/views/projects/project_members/_project_member.html.haml
+++ b/app/views/projects/project_members/_project_member.html.haml
@@ -3,7 +3,7 @@
%li{class: "#{dom_class(member)} js-toggle-container project_member_row access-#{member.human_access.downcase}", id: dom_id(member)}
%span.list-item-name
- = image_tag avatar_icon(user.email, 16), class: "avatar s16"
+ = image_tag avatar_icon(user.email, 16), class: "avatar s16", alt: ''
%strong= user.name
%span.cgray= user.username
- if user == current_user