Remove the group avatar 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.
This commit is contained in:
Connor Shea 2016-07-11 16:29:25 -06:00
parent 158786caae
commit 429ab4a0b7
No known key found for this signature in database
GPG key ID: E52237E5B35A83E6

View file

@ -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