diff options
Diffstat (limited to 'app/helpers/ci/runners_helper.rb')
-rw-r--r-- | app/helpers/ci/runners_helper.rb | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/app/helpers/ci/runners_helper.rb b/app/helpers/ci/runners_helper.rb index 552acf61f47..432aad663e4 100644 --- a/app/helpers/ci/runners_helper.rb +++ b/app/helpers/ci/runners_helper.rb @@ -2,13 +2,15 @@ module Ci module RunnersHelper + include IconsHelper + def runner_status_icon(runner) status = runner.status case status when :not_connected - content_tag :i, nil, - class: "fa fa-warning", - title: "New runner. Has not connected yet" + content_tag(:span, title: "New runner. Has not connected yet") do + sprite_icon("warning-solid", size: 24, css_class: "gl-vertical-align-bottom!") + end when :online, :offline, :paused content_tag :i, nil, |