diff options
author | Sven Strickroth <email@cs-ware.de> | 2015-04-08 13:31:36 +0200 |
---|---|---|
committer | Sven Strickroth <email@cs-ware.de> | 2015-04-13 21:07:42 +0200 |
commit | 57c2a9f03d9896d6b9358b8530f2e70f15cbdad3 (patch) | |
tree | 1744069772e0e8f9a20da0a87f0d64f55bed81fd /app/views/groups/group_members | |
parent | 7feec5fe051172ee055f3c82da22b1b330e13c74 (diff) | |
download | gitlab-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/groups/group_members')
-rw-r--r-- | app/views/groups/group_members/_group_member.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/groups/group_members/_group_member.html.haml b/app/views/groups/group_members/_group_member.html.haml index 30e5faf822e..2462c952090 100644 --- a/app/views/groups/group_members/_group_member.html.haml +++ b/app/views/groups/group_members/_group_member.html.haml @@ -4,7 +4,7 @@ %li{class: "#{dom_class(member)} js-toggle-container", id: dom_id(member)} %span{class: ("list-item-name" if show_controls)} - = 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 |