diff options
author | Bryan Newbold <bnewbold@archive.org> | 2021-01-19 13:48:30 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2021-01-19 19:49:39 -0800 |
commit | 556212846e5f25c6b14e69fc08ba5916ba869ece (patch) | |
tree | c5b347b33cde957fb06b3853d917b0fc09b7f4ba /fatcat_scholar | |
parent | 9ec73af147170df24a8edbfc63ea8cf4b08a6322 (diff) | |
download | fatcat-scholar-556212846e5f25c6b14e69fc08ba5916ba869ece.tar.gz fatcat-scholar-556212846e5f25c6b14e69fc08ba5916ba869ece.zip |
html: add missing size format transform in access button
Diffstat (limited to 'fatcat_scholar')
-rw-r--r-- | fatcat_scholar/templates/search_macros.html | 2 |
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 |