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:
authorThong Kuah <tkuah@gitlab.com>2018-10-09 06:21:54 +0300
committerThong Kuah <tkuah@gitlab.com>2018-10-09 12:34:13 +0300
commit0275069cc0ecce232bd0c9e383ac5dcf086f2400 (patch)
treee5346b3f7145cae2e366e679b1ceb7566582e2b1 /app/views/projects/environments
parentbde028c4af83574b44bdcb6bde0ec18a09d15845 (diff)
Move to using qa-* selectors
Adds the corresponding qa-* classes into the view files for each new Page element we added. Adjust the click actions to match.
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