Compare commits

...

1 Commits

Author SHA1 Message Date
Jeremy Stretch
50d1d0a023 Fixes #21518: Ensure proper display of decimal custom fields with a zero value 2026-02-25 18:08:08 -05:00

View File

@@ -2,6 +2,8 @@
{% load i18n %}
{% if customfield.type == 'integer' and value is not None %}
{{ value }}
{% elif customfield.type == 'decimal' and value is not None %}
{{ value }}
{% elif customfield.type == 'longtext' and value %}
{{ value|markdown }}
{% elif customfield.type == 'boolean' and value == True %}