diff options
author | Matija Čupić <matteeyah@gmail.com> | 2018-09-07 22:03:05 +0200 |
---|---|---|
committer | Matija Čupić <matteeyah@gmail.com> | 2018-09-07 22:03:05 +0200 |
commit | 3149b5cfea4d8f14d69bb2520974f588454a0762 (patch) | |
tree | 8cb9fac721255e2ecf2c21ac1b18f1af430f252a /app/views/projects | |
parent | 1a53f017b4c2106da3425f3dcbe40fb95fd44bbf (diff) | |
download | gitlab-ce-3149b5cfea4d8f14d69bb2520974f588454a0762.tar.gz |
Improve external architecture
CE mirror of 4f17c7b2c30188302e6a73421acbf5a09fb2c823
Diffstat (limited to 'app/views/projects')
-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') |