diff options
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/ci/icons_helper.rb | 4 | ||||
-rw-r--r-- | app/helpers/ci/runners_helper.rb | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/app/helpers/ci/icons_helper.rb b/app/helpers/ci/icons_helper.rb index ecb6ef7be45..be40f79e880 100644 --- a/app/helpers/ci/icons_helper.rb +++ b/app/helpers/ci/icons_helper.rb @@ -2,9 +2,9 @@ module Ci module IconsHelper def boolean_to_icon(value) if value.to_s == "true" - content_tag :i, nil, class: 'fa-circle cgreen' + content_tag :i, nil, class: 'fa fa-circle cgreen' else - content_tag :i, nil, class: 'fa-power-off clgray' + content_tag :i, nil, class: 'fa fa-power-off clgray' end end end diff --git a/app/helpers/ci/runners_helper.rb b/app/helpers/ci/runners_helper.rb index 782208ddfe4..03c9914641e 100644 --- a/app/helpers/ci/runners_helper.rb +++ b/app/helpers/ci/runners_helper.rb @@ -3,7 +3,7 @@ module Ci def runner_status_icon(runner) unless runner.contacted_at return content_tag :i, nil, - class: "fa-warning-sign", + class: "fa fa-warning-sign", title: "New runner. Has not connected yet" end @@ -15,7 +15,7 @@ module Ci end content_tag :i, nil, - class: "fa-circle runner-status-#{status}", + class: "fa fa-circle runner-status-#{status}", title: "Runner is #{status}, last contact was #{time_ago_in_words(runner.contacted_at)} ago" end end |