diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-21 06:10:05 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-21 06:15:13 +0300 |
commit | beece83af1788e587dc6e14c6feb1dea5c8f9b97 (patch) | |
tree | deb50b3ebbe41b4f0cc60ccbb9282c5be0b3d3ab /app/views/groups | |
parent | f0d052b6e73066ad451685f5a3dfdb1032cf95ea (diff) |
Improve header with avatar for group and user pages
Diffstat (limited to 'app/views/groups')
-rw-r--r-- | app/views/groups/show.html.haml | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/app/views/groups/show.html.haml b/app/views/groups/show.html.haml index 25efe973d4f..8df9366ecbe 100644 --- a/app/views/groups/show.html.haml +++ b/app/views/groups/show.html.haml @@ -1,12 +1,13 @@ .dashboard - %div + .header-with-avatar.clearfix = image_tag group_icon(@group), class: "avatar group-avatar s90" - .clearfix - %h2 - = @group.name - - if @group.description.present? - %p - = escaped_autolink(@group.description) + %h3 + = @group.name + .username + @#{@group.path} + - if @group.description.present? + .description + = escaped_autolink(@group.description) %hr .row %section.activities.col-md-8 |