diff options
Diffstat (limited to 'ogcp')
-rw-r--r-- | ogcp/forms/action_forms.py | 1 | ||||
-rw-r--r-- | ogcp/views.py | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/ogcp/forms/action_forms.py b/ogcp/forms/action_forms.py index ab5a011..d98a00a 100644 --- a/ogcp/forms/action_forms.py +++ b/ogcp/forms/action_forms.py @@ -193,6 +193,7 @@ class DeleteRoomForm(FlaskForm): class ImageDetailsForm(FlaskForm): name = StringField(label=_l('Name')) + description = StringField(label=_l('Description')) size = DecimalField(label=_l('Size (MiB)')) datasize = DecimalField(label=_l('Datasize (MiB)')) modified = StringField(label=_l('Last update')) diff --git a/ogcp/views.py b/ogcp/views.py index 2828d4a..f64d33c 100644 --- a/ogcp/views.py +++ b/ogcp/views.py @@ -1928,6 +1928,7 @@ def action_image_info(): form.modified.data = image['modified'] form.permissions.data = image['permissions'] form.software_id.data = image['software_id'] + form.description.data = image['description'] responses = multi_request('get', '/images') |