summaryrefslogtreecommitdiff
path: root/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
diff options
context:
space:
mode:
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.haml9
1 files changed, 9 insertions, 0 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
new file mode 100644
index 00000000000..28c5be6ebf3
--- /dev/null
+++ b/app/views/projects/blob/viewers/_gitlab_ci_yml.html.haml
@@ -0,0 +1,9 @@
+- if viewer.valid?
+ = icon('check fw')
+ This GitLab CI configuration is valid.
+- else
+ = icon('warning fw')
+ This GitLab CI configuration is invalid:
+ = viewer.validation_message
+
+= link_to 'Learn more', help_page_path('ci/yaml/README')