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>2019-05-27 02:54:16 +0300
committerThong Kuah <tkuah@gitlab.com>2019-05-27 02:54:16 +0300
commit33132427b3d4a14975b948fb15e22bc8a376dda2 (patch)
tree4b1ac1f4a17f52866cc8080cf878f79ce3e39f52 /app/views/ci
parentbd0aae21a5709a3d2557b5ac85a2a56ec0e4e681 (diff)
Add support for toggling masked on UI
In addition to API, add support for toggling mased on UI too. (Though fabricate_via_browser_ui is private)
Diffstat (limited to 'app/views/ci')
-rw-r--r--app/views/ci/variables/_variable_row.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/ci/variables/_variable_row.html.haml b/app/views/ci/variables/_variable_row.html.haml
index 89bd7b31352..ca2521e9bc6 100644
--- a/app/views/ci/variables/_variable_row.html.haml
+++ b/app/views/ci/variables/_variable_row.html.haml
@@ -59,7 +59,7 @@
.append-right-default
= s_("CiVariable|Masked")
%button{ type: 'button',
- class: "js-project-feature-toggle project-feature-toggle #{'is-checked' if is_masked}",
+ class: "js-project-feature-toggle project-feature-toggle qa-variable-masked #{'is-checked' if is_masked}",
"aria-label": s_("CiVariable|Toggle masked") }
%input{ type: "hidden",
class: 'js-ci-variable-input-masked js-project-feature-toggle-input',