2019-07-09 07:46:16 -04:00
|
|
|
- @can_bulk_update = can?(current_user, :admin_issue, @group)
|
|
|
|
|
2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Issues"
|
2015-04-21 10:31:40 -04:00
|
|
|
= content_for :meta_tags do
|
2018-04-08 00:35:30 -04:00
|
|
|
= auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{@group.name} issues")
|
2015-04-21 10:31:40 -04:00
|
|
|
|
2018-02-23 07:10:57 -05:00
|
|
|
- if group_issues_count(state: 'all').zero?
|
|
|
|
= render 'shared/empty_states/issues', project_select_button: true
|
|
|
|
- else
|
2016-11-05 13:28:29 -04:00
|
|
|
.top-area
|
|
|
|
= render 'shared/issuable/nav', type: :issues
|
2017-09-06 04:38:48 -04:00
|
|
|
.nav-controls
|
2018-05-31 10:01:04 -04:00
|
|
|
= render 'shared/issuable/feed_buttons'
|
2019-07-09 07:46:16 -04:00
|
|
|
|
|
|
|
- if @can_bulk_update
|
2019-07-23 10:39:18 -04:00
|
|
|
= render_if_exists 'shared/issuable/bulk_update_button', type: :issues
|
2019-07-09 07:46:16 -04:00
|
|
|
|
2018-10-26 02:34:31 -04:00
|
|
|
= render 'shared/new_project_item_select', path: 'issues/new', label: "New issue", type: :issues, with_feature_enabled: 'issues', with_shared: false, include_projects_in_subgroups: true
|
2015-12-02 08:02:12 -05:00
|
|
|
|
2017-08-02 05:27:24 -04:00
|
|
|
= render 'shared/issuable/search_bar', type: :issues
|
2013-08-15 06:13:22 -04:00
|
|
|
|
2019-07-09 07:46:16 -04:00
|
|
|
- if @can_bulk_update
|
|
|
|
= render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :issues
|
|
|
|
|
2017-01-26 08:22:16 -05:00
|
|
|
= render 'shared/issues'
|