Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-10-09 17:34:48 +0300
committerRémy Coutable <remy@rymai.me>2018-10-09 17:34:48 +0300
commitcf7aea84f37d33400ef6e5716e234dc5dc735146 (patch)
treeb24c1eba71e4e4b56c04fb9436ffb64803387a2f /app/views/projects/environments
parent5dc20e505d259345aa2a3f4049a59abe75cbc301 (diff)
parent0275069cc0ecce232bd0c9e383ac5dcf086f2400 (diff)
Merge branch 'qa-304-auto-devops-open-live-environment' into 'master'
Assert prod environment is live after Auto Devops See merge request gitlab-org/gitlab-ce!22131
Diffstat (limited to 'app/views/projects/environments')
-rw-r--r--app/views/projects/environments/_external_url.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/environments/_external_url.html.haml b/app/views/projects/environments/_external_url.html.haml
index 4694bc39d54..b3a82d1ef41 100644
--- a/app/views/projects/environments/_external_url.html.haml
+++ b/app/views/projects/environments/_external_url.html.haml
@@ -1,4 +1,4 @@
- if environment.external_url && can?(current_user, :read_environment, environment)
- = link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'btn external-url has-tooltip', title: s_('Environments|Open live environment') do
+ = link_to environment.external_url, target: '_blank', rel: 'noopener noreferrer', class: 'btn external-url has-tooltip qa-view-deployment', title: s_('Environments|Open live environment') do
= sprite_icon('external-link')
View deployment