2015-04-30 17:06:18 +00:00
|
|
|
- page_title "Merge Requests"
|
2012-10-02 17:42:15 +00:00
|
|
|
|
2017-08-19 14:12:05 +00:00
|
|
|
- content_for :page_specific_javascripts do
|
|
|
|
= webpack_bundle_tag 'common_vue'
|
|
|
|
= webpack_bundle_tag 'filtered_search'
|
|
|
|
|
2017-09-06 10:58:24 +00:00
|
|
|
- if current_user
|
2017-07-03 11:51:35 +00:00
|
|
|
- content_for :breadcrumbs_extra do
|
2017-08-21 21:29:09 +00:00
|
|
|
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request", type: :merge_requests
|
2017-07-03 11:51:35 +00:00
|
|
|
|
2017-04-05 12:43:03 +00:00
|
|
|
- if @group_merge_requests.empty?
|
|
|
|
= 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 10:58:24 +00:00
|
|
|
.nav-controls.visible-xs
|
2017-08-21 21:29:09 +00:00
|
|
|
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request", type: :merge_requests
|
2015-12-02 13:02:12 +00:00
|
|
|
|
2017-08-19 14:12:05 +00:00
|
|
|
= render 'shared/issuable/search_bar', type: :merge_requests
|
2015-12-02 13:02:12 +00:00
|
|
|
|
2017-04-05 12:43:03 +00:00
|
|
|
.row-content-block.second-block
|
|
|
|
Only merge requests from
|
|
|
|
%strong= @group.name
|
|
|
|
group are listed here.
|
|
|
|
- if current_user
|
|
|
|
To see all merge requests you should visit #{link_to 'dashboard', merge_requests_dashboard_path} page.
|
2015-12-02 13:02:12 +00:00
|
|
|
|
2017-06-22 18:13:22 +00:00
|
|
|
= render 'shared/merge_requests'
|