aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/webcapture_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-13 17:12:14 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-13 17:12:21 -0700
commitbcc065ea637fecb80afb5cb1c34f306b19abfc5c (patch)
treea603b22b4d498493d1aa49b5e323a150eac35b18 /python/fatcat_web/templates/webcapture_view.html
parentc67fb5d850ec6bd6659ada8ce8162a8859dafe15 (diff)
downloadfatcat-bcc065ea637fecb80afb5cb1c34f306b19abfc5c.tar.gz
fatcat-bcc065ea637fecb80afb5cb1c34f306b19abfc5c.zip
webface: show webcapture size
Diffstat (limited to 'python/fatcat_web/templates/webcapture_view.html')
-rw-r--r--python/fatcat_web/templates/webcapture_view.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/webcapture_view.html b/python/fatcat_web/templates/webcapture_view.html
index 919f31e1..7593dd3f 100644
--- a/python/fatcat_web/templates/webcapture_view.html
+++ b/python/fatcat_web/templates/webcapture_view.html
@@ -53,7 +53,8 @@ No known public archive for this webcapture.
</div>
<div style="margin-left: 1em;">
{{ row.timestamp.strftime("%Y-%m-%d %H:%M:%S") }}
- {% if row.mimetype %}| {{ row.mimetype }}{% endif %}
+ {% if row.mimetype %}| {{ row.mimetype }} {% endif %}
+ {% if row.size_bytes %}| {{ row.size_bytes|filesizeformat }} {% endif %}
<br>
<code><small style="color: #666;">
{% if row.sha1 %}sha1:{{ row.sha1 }}<br>{% endif %}