From fc3dfb61b7f0dd7975f04cc068ff3e26c3a8b947 Mon Sep 17 00:00:00 2001 From: Sean McGivern <sean@gitlab.com> Date: Thu, 25 Aug 2016 16:07:20 +0100 Subject: [PATCH] Use icon helper --- app/views/admin/system_info/show.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/admin/system_info/show.html.haml b/app/views/admin/system_info/show.html.haml index 7f3b95699d..bfc6142067 100644 --- a/app/views/admin/system_info/show.html.haml +++ b/app/views/admin/system_info/show.html.haml @@ -12,7 +12,7 @@ - if @cpus %h1= "#{@cpus.length} cores" - else - %i.fa.fa-warning.text-warning + = icon('warning', class: 'text-warning') Unable to collect CPU info .col-sm-4 .light-well @@ -21,7 +21,7 @@ - if @memory %h1= "#{number_to_human_size(@memory.active_bytes)} / #{number_to_human_size(@memory.total_bytes)}" - else - %i.fa.fa-warning.text-warning + = icon('warning', class: 'text-warning') Unable to collect memory info .col-sm-4 .light-well -- 2.30.9