From d4ddbdc3ab393960f87b85baabbcdab078dedfbd Mon Sep 17 00:00:00 2001 From: toavina Date: Wed, 2 Oct 2024 15:31:12 +0300 Subject: [PATCH] More update --- .../zarr/templates/scheming/display_snippets/confirm.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ckanext/zarr/templates/scheming/display_snippets/confirm.html b/ckanext/zarr/templates/scheming/display_snippets/confirm.html index a3711cd..3dbc00e 100644 --- a/ckanext/zarr/templates/scheming/display_snippets/confirm.html +++ b/ckanext/zarr/templates/scheming/display_snippets/confirm.html @@ -1 +1,6 @@ -{{ data[field.field_name] }} \ No newline at end of file +{% set value = data[field.field_name] %} +{% if value == 'approved' %} + {{ _('Yes') }} +{% else %} + {{ _('Confirmed') }} +{% endif %}