summaryrefslogtreecommitdiffstats
path: root/fatcat_scholar/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@archive.org>2021-01-19 13:48:30 -0800
committerBryan Newbold <bnewbold@archive.org>2021-01-19 19:49:39 -0800
commit556212846e5f25c6b14e69fc08ba5916ba869ece (patch)
treec5b347b33cde957fb06b3853d917b0fc09b7f4ba /fatcat_scholar/templates
parent9ec73af147170df24a8edbfc63ea8cf4b08a6322 (diff)
downloadfatcat-scholar-556212846e5f25c6b14e69fc08ba5916ba869ece.tar.gz
fatcat-scholar-556212846e5f25c6b14e69fc08ba5916ba869ece.zip
html: add missing size format transform in access button
Diffstat (limited to 'fatcat_scholar/templates')
-rw-r--r--fatcat_scholar/templates/search_macros.html2
1 files changed, 1 insertions, 1 deletions
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