debian-mirror-gitlab/app/views/shared/runners/show.html.haml

72 lines
1.9 KiB
Text
Raw Normal View History

2020-07-28 23:09:34 +05:30
- page_title "#{@runner.description} ##{@runner.id}", _("Runners")
2015-09-25 12:07:36 +05:30
2015-11-26 14:37:03 +05:30
%h3.page-title
2020-11-24 15:15:51 +05:30
= s_('Runners|Runner #%{id}' % { id: @runner.id })
2018-11-08 19:23:39 +05:30
.float-right
- if @runner.instance_type?
2015-11-26 14:37:03 +05:30
%span.runner-state.runner-state-shared
2020-11-24 15:15:51 +05:30
= s_('Runners|Shared')
2018-10-15 14:42:47 +05:30
- elsif @runner.group_type?
%span.runner-state.runner-state-shared
2020-11-24 15:15:51 +05:30
= s_('Runners|Group')
2015-11-26 14:37:03 +05:30
- else
%span.runner-state.runner-state-specific
2020-11-24 15:15:51 +05:30
= s_('Runners|Specific')
2015-11-26 14:37:03 +05:30
.table-holder
%table.table
%thead
%tr
2020-11-24 15:15:51 +05:30
%th= s_('Runners|Property Name')
%th= s_('Runners|Value')
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Active')
%td= @runner.active? ? _('Yes') : _('No')
2018-03-17 18:26:18 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Protected')
%td= @runner.ref_protected? ? _('Yes') : _('No')
2016-06-02 11:05:42 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Can run untagged jobs')
%td= @runner.run_untagged? ? _('Yes') : _('No')
2018-10-15 14:42:47 +05:30
- unless @runner.group_type?
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Locked to this project')
%td= @runner.locked? ? _('Yes') : _('No')
2016-06-02 11:05:42 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Tags')
2015-11-26 14:37:03 +05:30
%td
2017-08-17 22:00:37 +05:30
- @runner.tag_list.sort.each do |tag|
2018-11-08 19:23:39 +05:30
%span.badge.badge-primary
2015-11-26 14:37:03 +05:30
= tag
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Name')
2016-06-02 11:05:42 +05:30
%td= @runner.name
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Version')
2016-06-02 11:05:42 +05:30
%td= @runner.version
2018-03-27 19:54:05 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|IP Address')
2018-03-27 19:54:05 +05:30
%td= @runner.ip_address
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Revision')
2016-06-02 11:05:42 +05:30
%td= @runner.revision
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Platform')
2016-06-02 11:05:42 +05:30
%td= @runner.platform
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Architecture')
2016-06-02 11:05:42 +05:30
%td= @runner.architecture
2015-11-26 14:37:03 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Description')
2016-06-02 11:05:42 +05:30
%td= @runner.description
2018-05-09 12:01:36 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Maximum job timeout')
2018-05-09 12:01:36 +05:30
%td= @runner.maximum_timeout_human_readable
2015-09-25 12:07:36 +05:30
%tr
2020-11-24 15:15:51 +05:30
%td= s_('Runners|Last contact')
2015-11-26 14:37:03 +05:30
%td
- if @runner.contacted_at
2018-11-08 19:23:39 +05:30
= time_ago_with_tooltip @runner.contacted_at
2015-11-26 14:37:03 +05:30
- else
2020-11-24 15:15:51 +05:30
= s_('Never')