From 295e6b16eb7ac90fd8d6e3272827c592903b62e7 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 25 Feb 2021 18:49:59 -0800 Subject: web: format search result counts --- python/fatcat_web/templates/search_macros.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/fatcat_web/templates/search_macros.html b/python/fatcat_web/templates/search_macros.html index a207bfbc..cb917c5f 100644 --- a/python/fatcat_web/templates/search_macros.html +++ b/python/fatcat_web/templates/search_macros.html @@ -9,7 +9,7 @@ {% endif %} {{ found.offset + found.count_returned }} - out of {{ found.count_found }} results + out of {{ '{0:,}'.format(found.count_found) }} results {%- endmacro %} @@ -28,7 +28,7 @@ {% endif %}   Showing results {{ found.offset }} — {{ found.offset + -found.count_returned }} out of {{ found.count_found }} results   +found.count_returned }} out of {{ '{0:,}'.format(found.count_found) }} results   {% if found.offset + found.limit < found.count_found and found.offset + found.limit < found.deep_page_limit %} Next » -- cgit v1.2.3