Commit ddc1f598 authored by Fatih Acet's avatar Fatih Acet

Merge branch 'remove-group-avi-link' into 'master'

Remove the group avatar link.

## What does this MR do?
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.

As mentioned in https://gitlab.com/gitlab-org/gitlab-ce/issues/12806#note_12976019.

cc: @fatihacet @alfredo1 

See merge request !5196
parents 30365b88 429ab4a0
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment