gitlab-org--gitlab-foss/app/views/groups/merge_requests.html.haml

15 lines
549 B
Text
Raw Normal View History

2015-04-30 13:06:18 -04:00
- page_title "Merge Requests"
2012-10-02 13:42:15 -04:00
- if group_merge_requests_count(state: 'all').zero?
2017-04-05 08:43:03 -04:00
= 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
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request", type: :merge_requests, with_feature_enabled: 'merge_requests'
= render 'shared/issuable/search_bar', type: :merge_requests
= render 'shared/merge_requests'