From 556212846e5f25c6b14e69fc08ba5916ba869ece Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 19 Jan 2021 13:48:30 -0800 Subject: html: add missing size format transform in access button --- fatcat_scholar/templates/search_macros.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fatcat_scholar') diff --git a/fatcat_scholar/templates/search_macros.html b/fatcat_scholar/templates/search_macros.html index 72f54a8..07a6e44 100644 --- a/fatcat_scholar/templates/search_macros.html +++ b/fatcat_scholar/templates/search_macros.html @@ -219,7 +219,7 @@ File |{{ paper.fulltext.file_mimetype }}| {% endif %} {% if paper.fulltext.size_bytes %} - ({{ paper.fulltext.size_bytes }}) + ({{ paper.fulltext.size_bytes|filesizeformat }}) {% endif %} {% elif paper.fulltext.access_type == "ia_sim" %} Microfilm -- cgit v1.2.3