2017-07-06 16:24:03 +00:00
|
|
|
- @hide_top_links = true
|
2018-04-06 09:52:39 +00:00
|
|
|
- page_title _("Merge Requests")
|
2018-10-29 03:03:43 +00:00
|
|
|
- @breadcrumb_link = merge_requests_dashboard_path(assignee_username: current_user.username)
|
2013-07-31 14:53:42 +00:00
|
|
|
|
2019-02-19 21:26:07 +00:00
|
|
|
= render_dashboard_gold_trial(current_user)
|
2018-12-06 13:41:20 +00:00
|
|
|
|
2020-02-21 12:09:07 +00:00
|
|
|
.page-title-holder.d-flex.align-items-start.flex-column.flex-sm-row.align-items-sm-center
|
2018-10-06 14:21:38 +00:00
|
|
|
%h1.page-title= _('Merge Requests')
|
|
|
|
|
|
|
|
- if current_user
|
2020-02-21 12:09:07 +00:00
|
|
|
.page-title-controls.ml-0.mb-3.ml-sm-auto.mb-sm-0
|
2018-10-06 14:21:38 +00:00
|
|
|
= 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 10:35:55 +00:00
|
|
|
.top-area
|
2018-03-23 14:27:15 +00:00
|
|
|
= render 'shared/issuable/nav', type: :merge_requests, display_count: !@no_filters_set
|
2015-12-02 13:02:12 +00:00
|
|
|
|
2020-10-12 15:08:32 +00:00
|
|
|
= render 'shared/issuable/search_bar', type: :merge_requests, disable_target_branch: true
|
2018-03-29 11:43:53 +00:00
|
|
|
|
|
|
|
- if current_user && @no_filters_set
|
|
|
|
= render 'shared/dashboard/no_filter_selected'
|
|
|
|
- else
|
|
|
|
= render 'shared/merge_requests'
|