2017-07-06 12:24:03 -04:00
|
|
|
- @hide_top_links = true
|
2021-03-29 11:09:30 -04:00
|
|
|
- page_title _("Merge requests")
|
2018-10-28 23:03:43 -04:00
|
|
|
- @breadcrumb_link = merge_requests_dashboard_path(assignee_username: current_user.username)
|
2013-07-31 10:53:42 -04:00
|
|
|
|
2021-02-24 13:11:28 -05:00
|
|
|
= render_dashboard_ultimate_trial(current_user)
|
2018-12-06 08:41:20 -05:00
|
|
|
|
2020-02-21 07:09:07 -05:00
|
|
|
.page-title-holder.d-flex.align-items-start.flex-column.flex-sm-row.align-items-sm-center
|
2021-03-29 11:09:30 -04:00
|
|
|
%h1.page-title= _('Merge requests')
|
2018-10-06 10:21:38 -04:00
|
|
|
|
|
|
|
- if current_user
|
2020-02-21 07:09:07 -05:00
|
|
|
.page-title-controls.ml-0.mb-3.ml-sm-auto.mb-sm-0
|
2018-10-06 10:21:38 -04: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 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
|
|
|
|
2020-10-12 11:08:32 -04:00
|
|
|
= render 'shared/issuable/search_bar', type: :merge_requests, disable_target_branch: true
|
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'
|