01950c3944
- Original EE MR: https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14827
22 lines
973 B
Text
22 lines
973 B
Text
- @can_bulk_update = can?(current_user, :admin_merge_request, @group) && @group.feature_available?(:group_bulk_edit)
|
|
|
|
- page_title "Merge Requests"
|
|
|
|
- if group_merge_requests_count(state: 'all').zero?
|
|
= render 'shared/empty_states/merge_requests', project_select_button: true
|
|
- else
|
|
.top-area
|
|
= render 'shared/issuable/nav', type: :merge_requests
|
|
- if current_user
|
|
.nav-controls
|
|
- if @can_bulk_update
|
|
= render_if_exists 'shared/issuable/bulk_update_button', type: :merge_requests
|
|
|
|
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request", type: :merge_requests, with_feature_enabled: 'merge_requests', with_shared: false, include_projects_in_subgroups: true
|
|
|
|
= render 'shared/issuable/search_bar', type: :merge_requests
|
|
|
|
- if @can_bulk_update
|
|
= render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :merge_requests
|
|
|
|
= render 'shared/merge_requests'
|