summaryrefslogtreecommitdiff
path: root/app/views/groups/issues.html.haml
blob: 00909982d59ba9c5ca0f1de3225755fd246b438c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
- page_title "Issues"
- group_issues_exists = group_issues(@group).exists?
= content_for :meta_tags do
  = auto_discovery_link_tag(:atom, params.merge(rss_url_options), title: "#{@group.name} issues")

- content_for :page_specific_javascripts do
  = webpack_bundle_tag 'common_vue'
  = webpack_bundle_tag 'filtered_search'

- if group_issues_exists
  .top-area
    = render 'shared/issuable/nav', type: :issues
    .nav-controls
      = link_to params.merge(rss_url_options), class: 'btn' do
        = icon('rss')
        %span.icon-label
          Subscribe
      = render 'shared/new_project_item_select', path: 'issues/new', label: "New issue", type: :issues

  = render 'shared/issuable/search_bar', type: :issues

  = render 'shared/issues'
- else
  = render 'shared/empty_states/issues', project_select_button: true