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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

19 lines
866 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")
2014-09-02 18:07:02 +05:30
2022-11-25 23:54:43 +05:30
.top-area
= render 'shared/issuable/nav', type: :merge_requests
- 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
2022-11-25 23:54:43 +05:30
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: _("merge request"), type: :merge_requests, with_feature_enabled: 'merge_requests', with_shared: false, include_projects_in_subgroups: true
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
2022-11-25 23:54:43 +05:30
= render 'shared/merge_requests'