diff options
author | Connor Shea <connor.james.shea@gmail.com> | 2016-07-11 16:29:25 -0600 |
---|---|---|
committer | Connor Shea <connor.james.shea@gmail.com> | 2016-07-12 08:42:43 -0600 |
commit | 429ab4a0b7683dd2e855e0299907ef9061f1c654 (patch) | |
tree | dd020396f8e0da157749e9b60120b28d4926b771 | |
parent | 158786caae7d025b2797008926cfd7d519367b87 (diff) | |
download | gitlab-ce-remove-group-avi-link.tar.gz |
Remove the group avatar link.remove-group-avi-link
For group pages, e.g. https://gitlab.com/groups/gitlab-org, I see no reason to link to the avatar image itself when clicking on the avatar.
If the user really wants to open the image, they can do so by right clicking and opening the image in a new tab.
-rw-r--r-- | app/views/groups/show.html.haml | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index a83eb7e88bb..eddeae98bc4 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -6,8 +6,7 @@ .cover-block.groups-cover-block %div{ class: container_class } - = link_to group_icon(@group), target: '_blank' do - = image_tag group_icon(@group), class: "avatar group-avatar s70" + = image_tag group_icon(@group), class: "avatar group-avatar s70" .group-info .cover-title %h1 |