summaryrefslogtreecommitdiff
path: root/app/views/ci
diff options
context:
space:
mode:
authorFilipa Lacerda <filipa@gitlab.com>2018-02-12 10:02:37 +0000
committerFilipa Lacerda <filipa@gitlab.com>2018-02-12 10:02:37 +0000
commit0a5041a3bf711fc58dbfc477c0729bdfe954f979 (patch)
tree045503c5eedc744c33254b0bbfbdb1d3173c66f0 /app/views/ci
parent642a21f4275b3b8b0a93433bb15b7e738ea79af0 (diff)
parentb60a39f26023207a0e5a63559ec3d2592a3246f0 (diff)
downloadgitlab-ce-0a5041a3bf711fc58dbfc477c0729bdfe954f979.tar.gz
Merge branch '42928-default-protected-variables-to-off' into 'master'
Default CI variables to unprotected Closes #42928 See merge request gitlab-org/gitlab-ce!17039
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 495a55660cb..15201780451 100644
--- a/app/views/ci/variables/_variable_row.html.haml
+++ b/app/views/ci/variables/_variable_row.html.haml
@@ -5,7 +5,7 @@
- id = variable&.id
- key = variable&.key
- value = variable&.value
-- is_protected = variable && !only_key_value ? variable.protected : true
+- is_protected = variable && !only_key_value ? variable.protected : false
- id_input_name = "#{form_field}[variables_attributes][][id]"
- destroy_input_name = "#{form_field}[variables_attributes][][_destroy]"