summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorValery Sizov <vsv2711@gmail.com>2015-06-24 17:38:13 +0300
committerValery Sizov <vsv2711@gmail.com>2015-06-24 17:40:45 +0300
commit8164acebd7adfd3cc3e80f9750a4ce88e28399ce (patch)
treeb582a35ca80fd80f3a00816a7aaeb76d4f57c788 /app/views
parentaec639d33b404ed4e1e587ea181cd65af5e5314e (diff)
downloadgitlab-ci-8164acebd7adfd3cc3e80f9750a4ce88e28399ce.tar.gz
warning when .gitlab-ci.yml not found
Diffstat (limited to 'app/views')
-rw-r--r--app/views/commits/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/commits/show.html.haml b/app/views/commits/show.html.haml
index 76b491f..b1b586c 100644
--- a/app/views/commits/show.html.haml
+++ b/app/views/commits/show.html.haml
@@ -45,6 +45,10 @@
%ul
- @commit.yaml_errors.split(",").each do |error|
%li= error
+
+- unless @commit.push_data[:ci_yaml_file]
+ .bs-callout.bs-callout-warning
+ \.gitlab-ci.yml not found in this commit
%h3 Status