From cf6794d7c811dfaa8c0a69225598b5f061b45f96 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Wed, 29 May 2024 11:10:55 +0200 Subject: templates: use the correct storage units Use base 2 storage units in html templates as that's the correct representation for the values shown in the web. Remove units such as "Gbytes" and "MB" for their binary byte unit counterparts. --- ogcp/templates/actions/client_details.html | 2 +- ogcp/templates/actions/setup.html | 4 ++-- ogcp/templates/dashboard.html | 18 +++++++++--------- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/ogcp/templates/actions/client_details.html b/ogcp/templates/actions/client_details.html index 620d8eb..42b03c7 100644 --- a/ogcp/templates/actions/client_details.html +++ b/ogcp/templates/actions/client_details.html @@ -22,7 +22,7 @@ {{_('Partition')}} {{_('Type')}} {{_('Filesystem')}} - {{_('Size')}} (MB) + {{_('Size')}} (MiB) {{_('Image')}} diff --git a/ogcp/templates/actions/setup.html b/ogcp/templates/actions/setup.html index a81d67e..c64c676 100644 --- a/ogcp/templates/actions/setup.html +++ b/ogcp/templates/actions/setup.html @@ -20,7 +20,7 @@ {{ _('Disk') }} {{ _('Partition Table Type') }} - {{ _('Total Disk Size') }} (MB) + {{ _('Total Disk Size') }} (MiB) @@ -46,7 +46,7 @@ {{ _('Partition') }} {{ _('Type') }} {{ _('Filesystem') }} - {{ _('Size') }} (MB) + {{ _('Size') }} (MiB) diff --git a/ogcp/templates/dashboard.html b/ogcp/templates/dashboard.html index bc89128..3da6587 100644 --- a/ogcp/templates/dashboard.html +++ b/ogcp/templates/dashboard.html @@ -113,14 +113,14 @@ @@ -149,14 +149,14 @@ @@ -186,14 +186,14 @@ -- cgit v1.2.3-18-g5258