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

29 lines
1.3 KiB
Text
Raw Normal View History

2021-06-08 01:23:25 +05:30
- @can_bulk_update = can?(current_user, :admin_issue, @group) && @group.licensed_feature_available?(:group_bulk_edit)
2019-09-30 21:07:59 +05:30
2020-07-28 23:09:34 +05:30
- page_title _("Issues")
2021-01-03 14:25:43 +05:30
- add_page_specific_style 'page_bundles/issues_list'
2015-09-11 14:41:01 +05:30
= 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
2021-11-11 11:23:49 +05:30
- if Feature.enabled?(:vue_issues_list, @group, default_enabled: :yaml)
2021-11-18 22:05:49 +05:30
.js-issues-list{ data: group_issues_list_data(@group, current_user, @issues, @projects) }
2021-11-11 11:23:49 +05:30
- if @can_bulk_update
= render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :issues
- else
.top-area
= render 'shared/issuable/nav', type: :issues
.nav-controls
= render 'shared/issuable/feed_buttons'
2019-09-30 21:07:59 +05:30
2021-11-11 11:23:49 +05:30
- if @can_bulk_update
= render_if_exists 'shared/issuable/bulk_update_button', type: :issues
2019-09-30 21:07:59 +05:30
2022-03-02 08:16:31 +05:30
= render 'shared/new_project_item_select', path: 'issues/new', label: _("issue"), type: :issues, with_feature_enabled: 'issues', with_shared: false, include_projects_in_subgroups: true
2015-12-23 02:04:40 +05:30
2021-11-11 11:23:49 +05:30
= render 'shared/issuable/search_bar', type: :issues
2014-09-02 18:07:02 +05:30
2021-11-11 11:23:49 +05:30
- if @can_bulk_update
= render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :issues
2019-09-30 21:07:59 +05:30
2022-03-02 08:16:31 +05:30
= render 'shared/issues', project_select_button: true