Skip to content

Commit 159bef1

Browse files
committed
Consistent number formatting: displayable counts
1 parent 16f6b87 commit 159bef1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

cubedash/templates/overview.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,11 @@ <h1><strong>{{ product.name }}</strong>{{ product_args_label }}</h1>
7373
</a>
7474

7575
{% if selected_summary.dataset_count != selected_summary.footprint_count %}
76-
({{ selected_summary.footprint_count or 'None' }} displayable)
76+
{%- if selected_summary.footprint_count -%}
77+
({{ '{:,d}'.format(selected_summary.footprint_count) }} displayable)
78+
{%- else -%}
79+
(None displayable)
80+
{%- endif -%}
7781
{% endif %}
7882

7983
<ul>

0 commit comments

Comments
 (0)