12 lines
844 B
Text
12 lines
844 B
Text
- issuable_type = 'merge-requests'
|
|
- notification_email = @current_user.present? ? @current_user.notification_email_or_default : nil
|
|
|
|
= render 'shared/issuable/feed_buttons', show_calendar_button: false
|
|
.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' } }
|
|
|
|
- if @can_bulk_update
|
|
= render Pajamas::ButtonComponent.new(type: :submit, button_options: { class: 'gl-mr-3 js-bulk-update-toggle' }) do
|
|
= _("Edit merge requests")
|
|
- if merge_project
|
|
= render Pajamas::ButtonComponent.new(href: new_merge_request_path, variant: :confirm) do
|
|
= _("New merge request")
|