diff options
author | Sean McGivern <sean@gitlab.com> | 2016-08-25 18:07:20 +0300 |
---|---|---|
committer | Sean McGivern <sean@gitlab.com> | 2016-08-25 18:07:20 +0300 |
commit | fc3dfb61b7f0dd7975f04cc068ff3e26c3a8b947 (patch) | |
tree | 4d79ffbc4113bb2d1005b5a116cbc1c282e9090d | |
parent | 3d98494815b9cb574a82c1e8b566ac9c2fadc1da (diff) |
Use icon helper
-rw-r--r-- | app/views/admin/system_info/show.html.haml | 4 |
1 files 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 7f3b95699db..bfc6142067a 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 |