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

23 lines
885 B
Text
Raw Normal View History

2022-11-25 23:54:43 +05:30
- @can_bulk_update = can?(current_user, :admin_merge_request, @group) && @group.licensed_feature_available?(:group_bulk_edit) && issuables_count_for_state(:merge_requests, :all) > 0
2019-10-12 21:52:04 +05:30
2021-04-29 21:17:54 +05:30
- page_title _("Merge requests")
2023-03-04 22:38:38 +05:30
- add_page_specific_style 'page_bundles/issuable_list'
2014-09-02 18:07:02 +05:30
2022-11-25 23:54:43 +05:30
.top-area
2023-04-23 21:23:45 +05:30
= render 'shared/issuable/nav', type: :merge_requests, display_count: !@search_timeout_occurred
2022-11-25 23:54:43 +05:30
- if current_user
.nav-controls
- if @can_bulk_update
= render_if_exists 'projects/merge_requests/bulk_update_button'
2022-08-13 15:12:31 +05:30
2023-04-23 21:23:45 +05:30
= render 'shared/new_project_item_vue_select'
2019-10-12 21:52:04 +05:30
2022-11-25 23:54:43 +05:30
= 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
2015-12-23 02:04:40 +05:30
2023-04-23 21:23:45 +05:30
- if @search_timeout_occurred
= render 'shared/dashboard/search_timeout_occurred'
- else
= render 'shared/merge_requests'