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

25 lines
1.2 KiB
Text
Raw Normal View History

2018-05-09 03:37:51 -04:00
%h3
= _('Specific Runners')
2015-08-25 21:42:46 -04:00
.bs-callout.help-callout
= render partial: 'ci/runner/how_to_setup_runner_automatically',
locals: { type: 'specific',
clusters_path: project_clusters_path(@project) }
%hr
= render partial: 'ci/runner/how_to_setup_runner',
locals: { registration_token: @project.runners_token,
type: 'specific',
reset_token_url: reset_registration_token_namespace_project_settings_ci_cd_path }
2015-08-25 21:42:46 -04:00
- if @project_runners.any?
%h4.underlined-title= _('Runners activated for this project')
2015-08-25 21:42:46 -04:00
%ul.bordered-list.activated-specific-runners
= render partial: 'projects/runners/runner', collection: @project_runners, as: :runner
= paginate @project_runners, theme: "gitlab", param_name: "project_page", params: { expand_runners: true, anchor: 'js-runners-settings' }
2015-08-25 21:42:46 -04:00
- if @assignable_runners.any?
%h4.underlined-title= _('Available specific runners')
2015-08-25 21:42:46 -04:00
%ul.bordered-list.available-specific-runners
= render partial: 'projects/runners/runner', collection: @assignable_runners, as: :runner
= paginate @assignable_runners, theme: "gitlab", param_name: "specific_page", :params => { :anchor => 'js-runners-settings'}