diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 17:12:14 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-05-13 17:12:21 -0700 |
commit | bcc065ea637fecb80afb5cb1c34f306b19abfc5c (patch) | |
tree | a603b22b4d498493d1aa49b5e323a150eac35b18 /python/fatcat_web/templates | |
parent | c67fb5d850ec6bd6659ada8ce8162a8859dafe15 (diff) | |
download | fatcat-bcc065ea637fecb80afb5cb1c34f306b19abfc5c.tar.gz fatcat-bcc065ea637fecb80afb5cb1c34f306b19abfc5c.zip |
webface: show webcapture size
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r-- | python/fatcat_web/templates/webcapture_view.html | 3 |
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 %} |