gitlab-org--gitlab-foss/app/views/projects/runners/_specific_runners.html.haml

17 lines
701 B
Text
Raw Normal View History

2018-05-09 03:37:51 -04:00
%h3
= _('Specific Runners')
2015-08-25 21:42:46 -04:00
= render partial: 'ci/runner/how_to_setup_specific_runner',
locals: { registration_token: @project.runners_token }
2015-08-25 21:42:46 -04:00
- if @project_runners.any?
2015-08-25 21:42:46 -04:00
%h4.underlined-title Runners activated for this project
%ul.bordered-list.activated-specific-runners
= render partial: 'projects/runners/runner', collection: @project_runners, as: :runner
2015-08-25 21:42:46 -04:00
- if @assignable_runners.any?
2015-08-25 21:42:46 -04:00
%h4.underlined-title Available specific runners
%ul.bordered-list.available-specific-runners
= render partial: 'projects/runners/runner', collection: @assignable_runners, as: :runner
= paginate @assignable_runners, theme: "gitlab", :params => { :anchor => '#js-runners-settings' }