summaryrefslogtreecommitdiff
path: root/app/views/layouts/ci/_info.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/layouts/ci/_info.html.haml')
-rw-r--r--app/views/layouts/ci/_info.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/layouts/ci/_info.html.haml b/app/views/layouts/ci/_info.html.haml
new file mode 100644
index 00000000000..bce3ce77031
--- /dev/null
+++ b/app/views/layouts/ci/_info.html.haml
@@ -0,0 +1,9 @@
+.container
+ - if alert || notice
+ - if alert
+ .alert.alert-danger= alert
+ - if notice
+ .alert.alert-info= notice
+
+ - if current_user && current_user.is_admin && Ci::Runner.count.zero?
+ = render 'ci/shared/no_runners'