Commit 66f5a840 authored by Andrew Fontaine's avatar Andrew Fontaine

Merge branch...

Merge branch '344180-replace-data-confirm-modals-with-glmodal-in-app-views-projects-pipeline_schedules' into 'master'

Resolve "Replace `data-confirm` modals with `GlModal` in `app/views/projects/pipeline_schedules/_pipeline_schedule.html.haml`"

See merge request gitlab-org/gitlab!80113

Changelog: fixed
parents e8d0f05d 34da7d37
...@@ -36,5 +36,5 @@ ...@@ -36,5 +36,5 @@
= link_to edit_pipeline_schedule_path(pipeline_schedule), title: _('Edit'), class: 'btn gl-button btn-default btn-icon' do = link_to edit_pipeline_schedule_path(pipeline_schedule), title: _('Edit'), class: 'btn gl-button btn-default btn-icon' do
= sprite_icon('pencil') = sprite_icon('pencil')
- if can?(current_user, :admin_pipeline_schedule, pipeline_schedule) - if can?(current_user, :admin_pipeline_schedule, pipeline_schedule)
= link_to pipeline_schedule_path(pipeline_schedule), title: _('Delete'), method: :delete, class: 'btn gl-button btn-danger btn-icon', data: { confirm: _("Are you sure you want to delete this pipeline schedule?") } do = link_to pipeline_schedule_path(pipeline_schedule), title: _('Delete'), method: :delete, class: 'btn gl-button btn-danger btn-icon', aria: { label: _('Delete pipeline schedule') }, data: { confirm: _("Are you sure you want to delete this pipeline schedule?"), confirm_btn_variant: 'danger' } do
= sprite_icon('remove') = sprite_icon('remove')
...@@ -11630,6 +11630,9 @@ msgstr "" ...@@ -11630,6 +11630,9 @@ msgstr ""
msgid "Delete pipeline" msgid "Delete pipeline"
msgstr "" msgstr ""
msgid "Delete pipeline schedule"
msgstr ""
msgid "Delete project" msgid "Delete project"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment