Commit ee058727 authored by Xurxo's avatar Xurxo Committed by Rémy Coutable

Remove whitespace in group links

parent 0ace54e8
- group_member = local_assigns[:group_member] - group_member = local_assigns[:group_member]
- full_name = true unless local_assigns[:full_name] == false - full_name = true unless local_assigns[:full_name] == false
- group_name = full_name ? group.full_name : group.name
- css_class = '' unless local_assigns[:css_class] - css_class = '' unless local_assigns[:css_class]
- css_class += " no-description" if group.description.blank? - css_class += " no-description" if group.description.blank?
...@@ -28,11 +29,7 @@ ...@@ -28,11 +29,7 @@
.avatar-container.s40 .avatar-container.s40
= image_tag group_icon(group), class: "avatar s40 hidden-xs" = image_tag group_icon(group), class: "avatar s40 hidden-xs"
.title .title
= link_to group, class: 'group-name' do = link_to group_name, group, class: 'group-name'
- if full_name
= group.full_name
- else
= group.name
- if group_member - if group_member
as as
......
---
title: Remove whitespace in group links
merge_request: 9947
author: Xurxo Méndez Pérez
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