2015-04-30 13:06:18 -04:00
|
|
|
- page_title "Merge Requests"
|
2012-10-02 13:42:15 -04:00
|
|
|
|
2017-07-03 07:51:35 -04:00
|
|
|
- if show_new_nav? && current_user
|
|
|
|
- content_for :breadcrumbs_extra do
|
|
|
|
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request"
|
|
|
|
|
2017-04-05 08:43:03 -04: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-07-03 07:51:35 -04:00
|
|
|
.nav-controls{ class: ("visible-xs" if show_new_nav?) }
|
2017-04-05 08:43:03 -04:00
|
|
|
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request"
|
2015-12-02 08:02:12 -05:00
|
|
|
|
2017-04-05 08:43:03 -04:00
|
|
|
= render 'shared/issuable/filter', type: :merge_requests
|
2015-12-02 08:02:12 -05:00
|
|
|
|
2017-04-05 08:43:03 -04: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 08:02:12 -05:00
|
|
|
|
2017-06-22 14:13:22 -04:00
|
|
|
= render 'shared/merge_requests'
|