summaryrefslogtreecommitdiffstats
path: root/ogcp/forms
diff options
context:
space:
mode:
authorJavier Hernandez <jhernandez@soleta.eu>2023-11-24 13:28:08 +0100
committerOpenGnSys Support Team <soporte-og@soleta.eu>2023-11-27 09:45:16 +0100
commitad41a0dfbeaa5b07ea454050af837de2d42d4bcd (patch)
treead8e6b83e0f5a9eec6540cda9616a408e36bb7a8 /ogcp/forms
parent9fa90e059366047cb401e584b7ff6b0f34ac534e (diff)
image: rename and remove fieldsv1.1.3-4
- remove field image 'id' - change size to display MiB instead of GiB - replace 'Modified' with 'Last update'
Diffstat (limited to 'ogcp/forms')
-rw-r--r--ogcp/forms/action_forms.py5
1 files changed, 2 insertions, 3 deletions
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'))