diff options
Diffstat (limited to 'app/views/admin/runners/_runner.html.haml')
-rw-r--r-- | app/views/admin/runners/_runner.html.haml | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/app/views/admin/runners/_runner.html.haml b/app/views/admin/runners/_runner.html.haml index da2fcd5a4a6..ce143a6b155 100644 --- a/app/views/admin/runners/_runner.html.haml +++ b/app/views/admin/runners/_runner.html.haml @@ -6,15 +6,15 @@ .table-mobile-header{ role: 'rowheader' }= _('Type') .table-mobile-content - if runner.instance_type? - %span.badge.badge-pill.gl-badge.sm.badge-success= _("shared") + %span.badge.badge-pill.gl-badge.sm.badge-success= s_('Runners|shared') - elsif runner.group_type? - %span.badge.badge-pill.gl-badge.sm.badge-success= _("group") + %span.badge.badge-pill.gl-badge.sm.badge-success= s_('Runners|group') - else - %span.badge.badge-pill.gl-badge.sm.badge-info= _("specific") + %span.badge.badge-pill.gl-badge.sm.badge-info= s_('Runners|specific') - if runner.locked? - %span.badge.badge-pill.gl-badge.sm.badge-warning= _("locked") + %span.badge.badge-pill.gl-badge.sm.badge-warning= s_('Runners|locked') - unless runner.active? - %span.badge.badge-pill.gl-badge.sm.badge-danger= _("paused") + %span.badge.badge-pill.gl-badge.sm.badge-danger= s_('Runners|paused') .table-section.section-30 .table-mobile-header{ role: 'rowheader' }= s_('Runners|Runner') |