BigW Consortium Gitlab

show.html.haml 1.27 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 31 32
            %ul.nav.nav-pills.event_filter.pull-right
              %li
                = link_to group_path(@group, { format: :atom, private_token: current_user.private_token }), title: "Feed", class: 'rss-btn' do
                  %i.fa.fa-rss
33

34 35
            = render 'shared/event_filter'
            %hr
36

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