2021-04-17 20:07:23 +05:30
|
|
|
- issuable_type = 'merge-requests'
|
|
|
|
- notification_email = @current_user.present? ? @current_user.notification_email : nil
|
|
|
|
|
|
|
|
.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
|