diff options
author | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-12 12:22:11 +0200 |
---|---|---|
committer | Grzegorz Bizon <grzesiek.bizon@gmail.com> | 2018-07-12 12:22:11 +0200 |
commit | e270366d844d27ba55b96fb589b8505502c76a08 (patch) | |
tree | b9b6c28de91e158c333bb600d68a8a4190cbf4e2 /app/views | |
parent | 66c3007ccb7b41226c4264c00c281b09ee729dd4 (diff) | |
download | gitlab-ce-e270366d844d27ba55b96fb589b8505502c76a08.tar.gz |
Rename environments stop action method
This makes it more explicit that an environment is not a stop action,
but instead is merely contains a stop action.
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/environments/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/environments/show.html.haml b/app/views/projects/environments/show.html.haml index a33bc9d4ce6..c7890b37381 100644 --- a/app/views/projects/environments/show.html.haml +++ b/app/views/projects/environments/show.html.haml @@ -16,7 +16,7 @@ ? .modal-body %p= s_('Environments|Are you sure you want to stop this environment?') - - unless @environment.stop_action? + - unless @environment.stop_action_available? .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, emphasis_end: '</strong>'.html_safe, |