Commit 6d1b2d9e authored by Simon Knox's avatar Simon Knox

Merge branch '344193-improve-slack-delete-modal' into 'master'

Improve copy on Slack app delete project modal

See merge request gitlab-org/gitlab!79714
parents 1d8521c8 60534c02
......@@ -23,7 +23,7 @@
.controls
- project = integration.project
= link_to _('Edit'), edit_project_settings_slack_path(project), class: 'btn gl-button btn-default'
= link_to sprite_icon('remove', css_class: 'gl-icon'), project_settings_slack_path(project), method: :delete, class: 'btn gl-button btn-danger btn-danger-secondary', data: { confirm: 'Are you sure?' }
= link_to sprite_icon('remove', css_class: 'gl-icon'), project_settings_slack_path(project), method: :delete, class: 'btn gl-button btn-danger btn-danger-secondary', aria: { label: s_('SlackIntegration|Remove project') }, data: { confirm_btn_variant: "danger", confirm: s_('SlackIntegration|Are you sure you want to remove this project from the Slack application?') }
- else
%p= s_('SlackIntegration|To set up this integration press "Add to Slack"')
= render "projects/services/#{integration.to_param}/slack_button", project: @project
......@@ -33432,6 +33432,9 @@ msgstr ""
msgid "Slack logo"
msgstr ""
msgid "SlackIntegration|Are you sure you want to remove this project from the Slack application?"
msgstr ""
msgid "SlackIntegration|GitLab for Slack"
msgstr ""
......@@ -33441,6 +33444,9 @@ msgstr ""
msgid "SlackIntegration|Project alias"
msgstr ""
msgid "SlackIntegration|Remove project"
msgstr ""
msgid "SlackIntegration|Select a GitLab project to link with your Slack workspace."
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