From 1798dcc1a6fc24e4fba8ed53d89cd86039a670f9 Mon Sep 17 00:00:00 2001 From: mfluharty Date: Mon, 8 Apr 2019 21:16:52 -0600 Subject: Clarify masked variable message, add link to docs Update error message "This variable will not be masked" to "Cannot use Masked Variable with current value" Add link to masked variables section to error message --- app/views/ci/variables/_variable_row.html.haml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'app/views/ci') diff --git a/app/views/ci/variables/_variable_row.html.haml b/app/views/ci/variables/_variable_row.html.haml index aecfdea10d9..12a8d9930b7 100644 --- a/app/views/ci/variables/_variable_row.html.haml +++ b/app/views/ci/variables/_variable_row.html.haml @@ -33,7 +33,9 @@ name: value_input_name, placeholder: s_('CiVariables|Input variable value') } = value - %p.masking-validation-error.gl-field-error.hide= s_("CiVariables|This variable will not be masked") + %p.masking-validation-error.gl-field-error.hide + = s_("CiVariables|Cannot use Masked Variable with current value") + = link_to icon('question-circle'), help_page_path('ci/variables/README', anchor: 'masked-variables'), target: '_blank', rel: 'noopener noreferrer' - unless only_key_value .ci-variable-body-item.ci-variable-protected-item .append-right-default -- cgit v1.2.3