From f53557a4faa02c4596d16819c4b5c7783829677a Mon Sep 17 00:00:00 2001 From: Annabel Dunstone Date: Tue, 3 May 2016 11:44:55 -0500 Subject: Group navigation design update --- app/views/groups/show.html.haml | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) (limited to 'app/views/groups') diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index c71070e6c9c..ffce7b1fc48 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -4,22 +4,16 @@ - if current_user = auto_discovery_link_tag(:atom, group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} activity") -.cover-block - .avatar-holder +.cover-block.groups-cover-block + .container-fluid = link_to group_icon(@group), target: '_blank' do = image_tag group_icon(@group), class: "avatar group-avatar s90" - .cover-title - %h1 - = @group.name - %span.visibility-icon.has-tooltip{ data: { container: 'body' }, title: visibility_icon_description(@group) } - = visibility_level_icon(@group.visibility_level, fw: false) + .cover-title + %h1 @#{@group.path} - .cover-desc.username - @#{@group.path} - - - if @group.description.present? - .cover-desc.description - = markdown(@group.description, pipeline: :description) + - if @group.description.present? + .cover-desc.description + = markdown(@group.description, pipeline: :description) %div{ class: container_class } .top-area -- cgit v1.2.1