Commit 6c1f8a14 authored by anna_vovchenko's avatar anna_vovchenko

Updated badges to the Pajamas-compliant component

parent 50d386bf
- if runner.instance_type?
%span.badge.badge-pill.gl-badge.badge-success
= s_('Runners|shared')
= gl_badge_tag s_('Runners|shared'), variant: :success
- elsif runner.group_type?
%span.badge.badge-pill.gl-badge.badge-success
= s_('Runners|group')
= gl_badge_tag s_('Runners|group'), variant: :success
- else
%span.badge.badge-pill.gl-badge.badge-info
= s_('Runners|specific')
= gl_badge_tag s_('Runners|specific'), variant: :info
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment