Skip to content

Commit ac27fad

Browse files
committed
Readable number formatting for dataset count
1 parent 65b3970 commit ac27fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cubedash/templates/product.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ <h2 class="followed">{{ product.name }}</h2>
2929
</a><br/>
3030
<i class="fa fa-list" aria-hidden="true"></i>
3131
<a href="{{ url_for('search_page', product_name=product.name) }}">
32-
{{ product_summary.dataset_count or '0' }} datasets
32+
{{ '{:,d}'.format(product_summary.dataset_count) if product_summary.dataset_count else '0' }} datasets
3333
</a>
3434
</p>
3535
</div>

0 commit comments

Comments
 (0)