summaryrefslogtreecommitdiff
path: root/app/views/layouts/_head_panel.html.haml
diff options
context:
space:
mode:
authorIzaak Alpert <ialpert@blackberry.com>2013-06-06 12:02:58 -0400
committerIzaak Alpert <ialpert@blackberry.com>2013-06-26 08:53:03 -0400
commitc1b05e7b8638e562ded689ae9a3ae1990fb1d5a7 (patch)
treef232cab84a53b1a4af03a3db5f0e19a1f6783b89 /app/views/layouts/_head_panel.html.haml
parent579c0b979190274ca51f50fea1cdfce31c3ec77a (diff)
downloadgitlab-ce-c1b05e7b8638e562ded689ae9a3ae1990fb1d5a7.tar.gz
Gravatar image fixes when gravatar unavailable
-Alt text to image was set to hash, which would make the page display hashes if the image/gravatar wasn't available, set the alt text to '', and made the main tool bar image follow the same or similar constraints as the other images (.avatar, .s26) Conflicts: app/assets/stylesheets/themes/ui_bb.scss app/views/snippets/_snippet.html.haml Change-Id: I42e1e86f535486fd2556d4b3e4591f3676eea033
Diffstat (limited to 'app/views/layouts/_head_panel.html.haml')
-rw-r--r--app/views/layouts/_head_panel.html.haml3
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/layouts/_head_panel.html.haml b/app/views/layouts/_head_panel.html.haml
index f0b001f6efc..a539d5b7432 100644
--- a/app/views/layouts/_head_panel.html.haml
+++ b/app/views/layouts/_head_panel.html.haml
@@ -37,5 +37,4 @@
%i.icon-signout
%li
= link_to current_user, class: "profile-pic" do
- = image_tag gravatar_icon(current_user.email, 26)
-
+ = image_tag(gravatar_icon(current_user.email, 26),alt: '',class: "avatar s26")