summaryrefslogtreecommitdiff
path: root/app/views/projects/ci_settings/edit.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/projects/ci_settings/edit.html.haml')
-rw-r--r--app/views/projects/ci_settings/edit.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/projects/ci_settings/edit.html.haml b/app/views/projects/ci_settings/edit.html.haml
index e9040fe4337..eedf484bf00 100644
--- a/app/views/projects/ci_settings/edit.html.haml
+++ b/app/views/projects/ci_settings/edit.html.haml
@@ -6,6 +6,9 @@
yaml file which is based on your old jobs.
Put this file to the root of your project and name it .gitlab-ci.yml
+- if no_runners_for_project?(@ci_project)
+ = render 'no_runners'
+
= render 'form'
- if @ci_project.generated_yaml_config