debian-mirror-gitlab/app/views/groups/issues.html.haml

26 lines
1,022 B
Text
Raw Normal View History

2019-10-12 21:52:04 +05:30
- @can_bulk_update = can?(current_user, :admin_issue, @group) && @group.feature_available?(:group_bulk_edit)
2019-09-30 21:07:59 +05:30
2015-09-11 14:41:01 +05:30
- page_title "Issues"
= content_for :meta_tags do
2018-06-27 16:04:02 +05:30
= auto_discovery_link_tag(:atom, safe_params.merge(rss_url_options).to_h, title: "#{@group.name} issues")
2015-09-11 14:41:01 +05:30
2018-03-17 18:26:18 +05:30
- if group_issues_count(state: 'all').zero?
= render 'shared/empty_states/issues', project_select_button: true
- else
2017-08-17 22:00:37 +05:30
.top-area
= render 'shared/issuable/nav', type: :issues
2018-03-17 18:26:18 +05:30
.nav-controls
2018-11-08 19:23:39 +05:30
= render 'shared/issuable/feed_buttons'
2019-09-30 21:07:59 +05:30
- if @can_bulk_update
2019-10-12 21:52:04 +05:30
= render_if_exists 'shared/issuable/bulk_update_button', type: :issues
2019-09-30 21:07:59 +05:30
2019-02-15 15:39:39 +05:30
= 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-23 02:04:40 +05:30
2017-09-10 17:25:29 +05:30
= render 'shared/issuable/search_bar', type: :issues
2014-09-02 18:07:02 +05:30
2019-09-30 21:07:59 +05:30
- if @can_bulk_update
= render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :issues
2015-09-25 12:07:36 +05:30
= render 'shared/issues'