Commit 60534c02 authored by Tom Quirk's avatar Tom Quirk

Improve copy on Slack app delete project modal

Changelog: changed
EE: true
parent 609fdc4f
......@@ -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
......@@ -33394,6 +33394,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 ""
......@@ -33403,6 +33406,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