debian-mirror-gitlab/app/views/dashboard/merge_requests.html.haml

23 lines
887 B
Text
Raw Normal View History

2017-09-10 17:25:29 +05:30
- @hide_top_links = true
2018-05-09 12:01:36 +05:30
- page_title _("Merge Requests")
2019-02-15 15:39:39 +05:30
- @breadcrumb_link = merge_requests_dashboard_path(assignee_username: current_user.username)
2019-07-07 11:18:12 +05:30
= render_dashboard_gold_trial(current_user)
2014-09-02 18:07:02 +05:30
2020-04-08 14:13:33 +05:30
.page-title-holder.d-flex.align-items-start.flex-column.flex-sm-row.align-items-sm-center
2018-12-13 13:39:08 +05:30
%h1.page-title= _('Merge Requests')
- if current_user
2020-04-08 14:13:33 +05:30
.page-title-controls.ml-0.mb-3.ml-sm-auto.mb-sm-0
2018-12-13 13:39:08 +05:30
= render 'shared/new_project_item_select', path: 'merge_requests/new', label: "New merge request", with_feature_enabled: 'merge_requests', type: :merge_requests
2018-12-05 23:21:45 +05:30
2016-04-02 18:10:28 +05:30
.top-area
2018-05-09 12:01:36 +05:30
= render 'shared/issuable/nav', type: :merge_requests, display_count: !@no_filters_set
2015-12-23 02:04:40 +05:30
2021-01-03 14:25:43 +05:30
= render 'shared/issuable/search_bar', type: :merge_requests, disable_target_branch: true
2018-05-09 12:01:36 +05:30
- if current_user && @no_filters_set
= render 'shared/dashboard/no_filter_selected'
- else
= render 'shared/merge_requests'