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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
843 B
Text
Raw Normal View History

2023-05-27 22:25:52 +05:30
- issuable_type = 'merge_request'
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
2022-11-25 23:54:43 +05:30
= render Pajamas::ButtonComponent.new(type: :submit, button_options: { class: 'gl-mr-3 js-bulk-update-toggle' }) do
= _("Edit merge requests")
2017-09-10 17:25:29 +05:30
- if merge_project
2022-11-25 23:54:43 +05:30
= render Pajamas::ButtonComponent.new(href: new_merge_request_path, variant: :confirm) do
= _("New merge request")