From 84bcdb3cae1ea13cc20bbf88dd9670733f44c02d Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Tue, 12 Dec 2023 10:53:59 +0100 Subject: Change Image-details' 'Datasize' unit to MiB Change the Image details form to display the 'Datasize' field of the image in MiB instead of GiB --- ogcp/forms/action_forms.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index c15d254..ab5a011 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -194,7 +194,7 @@ class DeleteRoomForm(FlaskForm): class ImageDetailsForm(FlaskForm): name = StringField(label=_l('Name')) size = DecimalField(label=_l('Size (MiB)')) - datasize = DecimalField(label=_l('Datasize (GiB)')) + datasize = DecimalField(label=_l('Datasize (MiB)')) modified = StringField(label=_l('Last update')) permissions = StringField(label=_l('Permissions')) software_id = StringField(label=_l('Software id')) -- cgit v1.2.3-18-g5258