2017-07-06 12:24:03 -04:00
|
|
|
- @hide_top_links = true
|
2018-04-06 05:52:39 -04:00
|
|
|
- page_title _("Merge Requests")
|
|
|
|
- @breadcrumb_link = merge_requests_dashboard_path(assignee_id: current_user.id)
|
2013-07-31 10:53:42 -04:00
|
|
|
|
2018-10-06 10:21:38 -04:00
|
|
|
.page-title-holder
|
|
|
|
%h1.page-title= _('Merge Requests')
|
|
|
|
|
|
|
|
- if current_user
|
|
|
|
.page-title-controls
|
|
|
|
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request", with_feature_enabled: 'merge_requests', type: :merge_requests
|
|
|
|
|
2016-02-05 05:35:55 -05:00
|
|
|
.top-area
|
2018-03-23 10:27:15 -04:00
|
|
|
= render 'shared/issuable/nav', type: :merge_requests, display_count: !@no_filters_set
|
2015-12-02 08:02:12 -05:00
|
|
|
|
2016-02-05 05:35:55 -05:00
|
|
|
= render 'shared/issuable/filter', type: :merge_requests
|
2018-03-29 07:43:53 -04:00
|
|
|
|
|
|
|
- if current_user && @no_filters_set
|
|
|
|
= render 'shared/dashboard/no_filter_selected'
|
|
|
|
- else
|
|
|
|
= render 'shared/merge_requests'
|