gitlab-org--gitlab-foss/app/views/shared/runners/show.html.haml

63 lines
1.7 KiB
Text
Raw Normal View History

- page_title "#{@runner.description} ##{@runner.id}", _("Runners")
%h2.page-title
= s_('Runners|Runner #%{runner_id}' % { runner_id: @runner.id })
= render 'shared/runners/runner_type_badge', runner: @runner
2015-08-25 21:42:46 -04:00
2015-10-19 05:19:45 -04:00
.table-holder
%table.table
%thead
%tr
%th= s_('Runners|Property Name')
%th= s_('Runners|Value')
2015-08-25 21:42:46 -04:00
%tr
%td= s_('Runners|Active')
%td= @runner.active? ? _('Yes') : _('No')
2017-07-31 08:59:04 -04:00
%tr
%td= s_('Runners|Protected')
%td= @runner.ref_protected? ? _('Yes') : _('No')
%tr
%td= s_('Runners|Can run untagged jobs')
%td= @runner.run_untagged? ? _('Yes') : _('No')
- unless @runner.group_type?
%tr
%td= s_('Runners|Locked to this project')
%td= @runner.locked? ? _('Yes') : _('No')
%tr
%td= s_('Runners|Tags')
2015-10-19 05:19:45 -04:00
%td
- @runner.tag_list.sort.each do |tag|
%span.badge.badge-primary
2015-10-19 05:19:45 -04:00
= tag
%tr
%td= s_('Runners|Name')
%td= @runner.name
2015-10-19 05:19:45 -04:00
%tr
%td= s_('Runners|Version')
%td= @runner.version
%tr
%td= s_('Runners|IP Address')
%td= @runner.ip_address
2015-10-19 05:19:45 -04:00
%tr
%td= s_('Runners|Revision')
%td= @runner.revision
2015-10-19 05:19:45 -04:00
%tr
%td= s_('Runners|Platform')
%td= @runner.platform
2015-10-19 05:19:45 -04:00
%tr
%td= s_('Runners|Architecture')
%td= @runner.architecture
2015-10-19 05:19:45 -04:00
%tr
%td= s_('Runners|Description')
%td= @runner.description
%tr
%td= s_('Runners|Maximum job timeout')
%td= @runner.maximum_timeout_human_readable
2015-10-19 05:19:45 -04:00
%tr
%td= s_('Runners|Last contact')
2015-10-19 05:19:45 -04:00
%td
- if @runner.contacted_at
= time_ago_with_tooltip @runner.contacted_at
2015-10-19 05:19:45 -04:00
- else
= s_('Never')