From ad41a0dfbeaa5b07ea454050af837de2d42d4bcd Mon Sep 17 00:00:00 2001 From: Javier Hernandez Date: Fri, 24 Nov 2023 13:28:08 +0100 Subject: image: rename and remove fields - remove field image 'id' - change size to display MiB instead of GiB - replace 'Modified' with 'Last update' --- ogcp/forms/action_forms.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'ogcp/forms') diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index 1918bf8..dfb1572 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -186,11 +186,10 @@ class DeleteRoomForm(FlaskForm): submit = SubmitField(label=_l('Submit')) class ImageDetailsForm(FlaskForm): - id = StringField(label=_l('Id')) name = StringField(label=_l('Name')) - size = DecimalField(label=_l('Size (GiB)')) + size = DecimalField(label=_l('Size (MiB)')) datasize = DecimalField(label=_l('Datasize (GiB)')) - modified = StringField(label=_l('Modified')) + modified = StringField(label=_l('Last update')) permissions = StringField(label=_l('Permissions')) software_id = StringField(label=_l('Software id')) -- cgit v1.2.3-18-g5258