issues.html.haml 1.02 KB
Newer Older
1
- page_title "Issues"
2 3
= content_for :meta_tags do
  - if current_user
4
    = auto_discovery_link_tag(:atom, url_for(params.merge(format: :atom, private_token: current_user.private_token)), title: "#{@group.name} issues")
5

6 7 8 9 10 11 12 13 14 15
- if group_issues(@group).exists?
  .top-area
    = render 'shared/issuable/nav', type: :issues
    .nav-controls
      - if current_user
        = link_to url_for(params.merge(format: :atom, private_token: current_user.private_token)), class: 'btn' do
          = icon('rss')
          %span.icon-label
            Subscribe
      = render 'shared/new_project_item_select', path: 'issues/new', label: "New Issue"
16

17
  = render 'shared/issuable/filter', type: :issues
18

19 20 21 22 23 24
  .row-content-block.second-block
    Only issues from the
    %strong #{@group.name}
    group are listed here.
    - if current_user
      To see all issues you should visit #{link_to 'dashboard', issues_dashboard_path} page.
25

26 27 28 29
  .prepend-top-default
    = render 'shared/issues'
- else
  = render 'shared/empty_states/issues', project_select_button: true