BigW Consortium Gitlab

show.html.haml 1.22 KB
Newer Older
1 2 3
- unless can?(current_user, :read_group, @group)
  - @disable_search_panel = true

4 5 6 7
= content_for :meta_tags do
  - if current_user
    = auto_discovery_link_tag(:atom, group_url(@group, format: :atom, private_token: current_user.private_token), title: "#{@group.name} activity")

8
.dashboard
9
  .header-with-avatar.clearfix
10
    = image_tag group_icon(@group), class: "avatar group-avatar s90"
11 12 13 14 15 16
    %h3
      = @group.name
    .username
      @#{@group.path}
    - if @group.description.present?
      .description
17
        = markdown(@group.description, pipeline: :description)
18
  %hr
19 20 21

  = render 'shared/show_aside'

22 23 24 25 26 27
  - if can?(current_user, :read_group, @group)
    .row
      %section.activities.col-md-7
        .hidden-xs
          - if current_user
            = render "events/event_last_push", event: @last_push
28 29 30
            .pull-right
              = link_to group_path(@group, { format: :atom, private_token: current_user.private_token }), title: "Feed", class: 'btn rss-btn' do
                %i.fa.fa-rss
31

32 33
            = render 'shared/event_filter'
            %hr
34

35 36
        .content_list
        = spinner
Valery Sizov committed
37 38
      %aside.side.col-md-5
        = render "projects", projects: @projects
39 40
  - else
    %p
41
      This group does not have public projects