From eefd67fbd29269190105bce05b8ac4203eb3ca88 Mon Sep 17 00:00:00 2001 From: Zarino Zappia Date: Thu, 14 Mar 2024 16:43:04 +0000 Subject: [PATCH] Thousands separators for large numbers on Area page --- hub/templates/hub/area.html | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/hub/templates/hub/area.html b/hub/templates/hub/area.html index 2988981f7..e03160c2c 100644 --- a/hub/templates/hub/area.html +++ b/hub/templates/hub/area.html @@ -495,9 +495,9 @@

{{ dataset.label }}

{{ dataset.data.value.link_text|safe }} {% elif dataset.data_type == "integer" %} -

{{ dataset.data.value }}

+

{{ dataset.data.value|intcomma }}

{% if data.data.average %} -

{{dataset.data.average|floatformat }} national average

+

{{dataset.data.average|intcomma }} national average

{% endif %} {% elif dataset.is_range and dataset.data|length > 0 %} @@ -585,7 +585,7 @@

{{ dataset.label }}

{{dataset.data.average|floatformat }}% national average

{% elif dataset.data_type == "integer" %} {% if dataset.related_category %} -

{{ dataset.data.value }}

+

{{ dataset.data.value|intcomma }}

{% else %} -

{{ dataset.data.value }}

-

{{dataset.data.average|floatformat }} national average

+

{{ dataset.data.value|intcomma }}

+

{{dataset.data.average|intcomma }} national average

{% endif %} {% elif dataset.is_range %}