summaryrefslogtreecommitdiff
path: root/app/views/admin/system_info/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/admin/system_info/show.html.haml')
-rw-r--r--app/views/admin/system_info/show.html.haml4
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 316a94f4d41..542498cfb22 100644
--- a/app/views/admin/system_info/show.html.haml
+++ b/app/views/admin/system_info/show.html.haml
@@ -14,9 +14,9 @@
.light-well
%h4 Memory
.data
- %h1= "#{@mem_used}GB / #{@mem_total}GB"
+ %h1= "#{number_to_human_size(@mem_used)} / #{number_to_human_size(@mem_total)}"
.col-sm-4
.light-well
%h4 Disk
.data
- %h1= "#{@disk_used}GB / #{@disk_total}GB"
+ %h1= "#{number_to_human_size(@disk_used)} / #{number_to_human_size(@disk_total)}"