2021-05-03 06:10:30 +00:00
|
|
|
- @can_bulk_update = can?(current_user, :admin_merge_request, @group) && @group.licensed_feature_available?(:group_bulk_edit)
|
2019-07-23 14:39:18 +00:00
|
|
|
|
2021-04-05 21:09:19 +00:00
|
|
|
- page_title _("Merge requests")
|
2012-10-02 17:42:15 +00:00
|
|
|
|
2021-07-13 09:09:42 +00:00
|
|
|
- if issuables_count_for_state(:merge_requests, :all) == 0
|
2017-04-05 12:43:03 +00:00
|
|
|
= render 'shared/empty_states/merge_requests', project_select_button: true
|
|
|
|
- else
|
|
|
|
.top-area
|
|
|
|
= render 'shared/issuable/nav', type: :merge_requests
|
|
|
|
- if current_user
|
2017-09-06 08:38:48 +00:00
|
|
|
.nav-controls
|
2019-07-23 14:39:18 +00:00
|
|
|
- if @can_bulk_update
|
|
|
|
= render_if_exists 'shared/issuable/bulk_update_button', type: :merge_requests
|
|
|
|
|
2017-08-19 14:12:05 +00:00
|
|
|
= render 'shared/issuable/search_bar', type: :merge_requests
|
2015-12-02 13:02:12 +00:00
|
|
|
|
2019-07-23 14:39:18 +00:00
|
|
|
- if @can_bulk_update
|
|
|
|
= render_if_exists 'shared/issuable/group_bulk_update_sidebar', group: @group, type: :merge_requests
|
|
|
|
|
2017-06-22 18:13:22 +00:00
|
|
|
= render 'shared/merge_requests'
|