BigW Consortium Gitlab

_home_panel.html.haml 712 Bytes
Newer Older
1 2 3 4 5
.group-home-panel.text-center
  %div{ class: container_class }
    .avatar-container.s70.group-avatar
      = image_tag group_icon(@group), class: "avatar s70 avatar-tile"
    %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