_home_panel.html.haml 716 Bytes
Newer Older
1
.group-home-panel.text-center.border-bottom
2
3
  %div{ class: container_class }
    .avatar-container.s70.group-avatar
4
      = group_icon(@group, class: "avatar s70 avatar-tile")
5
    %h1.group-title
6
      = @group.name
7
8
9
10
11
12
13
14
15
16
17
      %span.visibility-icon.has-tooltip{ data: { container: 'body' }, title: visibility_icon_description(@group) }
        = visibility_level_icon(@group.visibility_level, fw: false)

    - if @group.description.present?
      .group-home-desc
        = markdown_field(@group, :description)

    - if current_user
      .group-buttons
        = render 'shared/members/access_request_buttons', source: @group
        = render 'shared/notifications/button', notification_setting: @notification_setting