diff options
Diffstat (limited to 'app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml')
-rw-r--r-- | app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml b/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml index 28c5be6ebf3..6ef09278ee8 100644 --- a/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml +++ b/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml @@ -1,9 +1,9 @@ -- if viewer.valid? +- if viewer.valid?(@project, @ref) = icon('check fw') This GitLab CI configuration is valid. - else = icon('warning fw') This GitLab CI configuration is invalid: - = viewer.validation_message + = viewer.validation_message(@project, @ref) = link_to 'Learn more', help_page_path('ci/yaml/README') |