diff options
author | mfluharty <mfluharty@gitlab.com> | 2019-04-09 06:16:52 +0300 |
---|---|---|
committer | mfluharty <mfluharty@gitlab.com> | 2019-04-19 02:50:47 +0300 |
commit | 1798dcc1a6fc24e4fba8ed53d89cd86039a670f9 (patch) | |
tree | 317b4d0240256f1e2a0fcde627f93e186fe68146 /app/views/ci | |
parent | 9ec37d3dc1c1969be743a0c283242dc462a8f466 (diff) |
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
Diffstat (limited to 'app/views/ci')
-rw-r--r-- | app/views/ci/variables/_variable_row.html.haml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |