summaryrefslogtreecommitdiff
path: root/app/views/groups/show.html.haml
blob: 3d7b469660aa741af94da1d58723860ced3a0aa1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
- @no_container = true

= 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")

= render 'groups/head'
= render 'groups/home_panel'


.groups-header{ class: container_class }
  .top-area
    = render 'groups/show_nav'
    .nav-controls
      = form_tag request.path, method: :get, class: 'project-filter-form', id: 'project-filter-form' do |f|
        = search_field_tag :filter_projects, nil, placeholder: 'Filter by name', class: 'projects-list-filter form-control', spellcheck: false
      = render 'shared/projects/dropdown'
      - if can? current_user, :create_projects, @group
        = link_to new_project_path(namespace_id: @group.id), class: 'btn btn-new pull-right' do
          New Project

  = render "projects", projects: @projects