Move no runners alert to project ci settings

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets
2015-10-07 14:35:54 +02:00
parent 6f6097713c
commit c0b79a751c
3 changed files with 4 additions and 3 deletions
-2
View File
@@ -1,2 +0,0 @@
- if no_runners_for_project?(@project)
= render 'no_runners'
@@ -4,5 +4,5 @@
%br
You can add Specific runner for this project on Runners page
- if current_user.is_admin
- if current_user.admin
or add Shared runner for whole application in admin are.
@@ -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