%p=s_('Environments|Are you sure you want to stop this environment?')
-unless@environment.stop_action?
.warning_message
%p=s_('Environments|Note that this action will stop the environment, but it will %{emphasis_start}not%{emphasis_end} have an effect on any existing deployment due to no “stop environment action” being defined in the %{ci_config_link_start}.gitlab-ci.yml%{ci_config_link_end} file.').html_safe%{emphasis_start: '<strong>'.html_safe,
=link_to'Stop',stop_project_environment_path(@project,@environment),data: {confirm: 'Are you sure you want to stop this environment?'},class: 'btn btn-danger',method: :post
msgid "Environments|An error occurred while making the request."
msgid "Environments|An error occurred while making the request."
msgstr ""
msgstr ""
msgid "Environments|An error occurred while stopping the environment, please try again"
msgstr ""
msgid "Environments|Are you sure you want to stop this environment?"
msgstr ""
msgid "Environments|Commit"
msgid "Environments|Commit"
msgstr ""
msgstr ""
msgid "Environments|Deploy to..."
msgstr ""
msgid "Environments|Deployment"
msgid "Environments|Deployment"
msgstr ""
msgstr ""
...
@@ -2114,27 +2123,39 @@ msgstr ""
...
@@ -2114,27 +2123,39 @@ msgstr ""
msgid "Environments|Job"
msgid "Environments|Job"
msgstr ""
msgstr ""
msgid "Environments|Learn more about stopping environments"
msgstr ""
msgid "Environments|New environment"
msgid "Environments|New environment"
msgstr ""
msgstr ""
msgid "Environments|No deployments yet"
msgid "Environments|No deployments yet"
msgstr ""
msgstr ""
msgid "Environments|Open"
msgid "Environments|Note that this action will stop the environment, but it will %{emphasis_start}not%{emphasis_end} have an effect on any existing deployment due to no “stop environment action” being defined in the %{ci_config_link_start}.gitlab-ci.yml%{ci_config_link_end} file."
msgstr ""
msgid "Environments|Open live environment"
msgstr ""
msgstr ""
msgid "Environments|Re-deploy"
msgid "Environments|Re-deploy to environment"
msgstr ""
msgstr ""
msgid "Environments|Read more about environments"
msgid "Environments|Read more about environments"
msgstr ""
msgstr ""
msgid "Environments|Rollback"
msgid "Environments|Rollback environment"
msgstr ""
msgstr ""
msgid "Environments|Show all"
msgid "Environments|Show all"
msgstr ""
msgstr ""
msgid "Environments|Stop"
msgstr ""
msgid "Environments|Stop environment"
msgstr ""
msgid "Environments|Updated"
msgid "Environments|Updated"
msgstr ""
msgstr ""
...
@@ -3799,9 +3820,6 @@ msgstr ""
...
@@ -3799,9 +3820,6 @@ msgstr ""
msgid "Quick actions can be used in the issues description and comment boxes."
msgid "Quick actions can be used in the issues description and comment boxes."