debian-mirror-gitlab/app/views/projects/merge_requests/_nav_btns.html.haml

12 lines
801 B
Text
Raw Normal View History

2021-04-17 20:07:23 +05:30
- issuable_type = 'merge-requests'
2021-11-11 11:23:49 +05:30
- notification_email = @current_user.present? ? @current_user.notification_email_or_default : nil
2021-04-17 20:07:23 +05:30
2021-11-11 11:23:49 +05:30
= render 'shared/issuable/feed_buttons', show_calendar_button: false
2021-04-17 20:07:23 +05:30
.js-csv-import-export-buttons{ data: { show_export_button: "true", issuable_type: issuable_type, issuable_count: issuables_count_for_state(issuable_type.to_sym, params[:state]), email: notification_email, export_csv_path: export_csv_project_merge_requests_path(@project, request.query_parameters), container_class: 'gl-mr-3' } }
2021-01-29 00:20:46 +05:30
2017-09-10 17:25:29 +05:30
- if @can_bulk_update
2021-04-17 20:07:23 +05:30
= button_tag "Edit merge requests", class: "gl-button btn btn-default gl-mr-3 js-bulk-update-toggle"
2017-09-10 17:25:29 +05:30
- if merge_project
2021-04-17 20:07:23 +05:30
= link_to new_merge_request_path, class: "gl-button btn btn-confirm", title: "New merge request" do
2017-09-10 17:25:29 +05:30
New merge request