Commit 43b70623 authored by Annabel Dunstone Gray's avatar Annabel Dunstone Gray Committed by Lin Jen-Shin

Merge branch 'project-group-icon-links' into 'master'

Fixed project & group icons not being clickable

Closes #31073

See merge request !10778
parent 37365274
......@@ -596,6 +596,10 @@ pre.light-well {
.avatar-container {
align-self: flex-start;
> a {
width: 100%;
}
}
.project-details {
......
......@@ -27,6 +27,7 @@
= visibility_level_icon(group.visibility_level, fw: false)
.avatar-container.s40
= link_to group do
= image_tag group_icon(group), class: "avatar s40 hidden-xs"
.title
= link_to group_name, group, class: 'group-name'
......
......@@ -12,6 +12,7 @@
= cache(cache_key) do
- if avatar
.avatar-container.s40
= link_to project_path(project), class: dom_class(project) do
- if use_creator_avatar
= image_tag avatar_icon(project.creator.email, 40), class: "avatar s40", alt:''
- else
......
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