From 43dfad6579118a0a4f05b0eee4004bccd2886c75 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Wed, 18 Jul 2018 18:57:12 -0700 Subject: fix display of files when file size not known --- python/fatcat/templates/release_view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/python/fatcat/templates/release_view.html b/python/fatcat/templates/release_view.html index 31502f92..22a45e15 100644 --- a/python/fatcat/templates/release_view.html +++ b/python/fatcat/templates/release_view.html @@ -83,8 +83,8 @@ Believed to represent this release... {% for file in files %} {{ file.sha1}} - {{ file.size }} - {{ file.mimetype }} + {% if file.size != None %}{{ file.size }}{% endif %} + {% if file.mimetype != None %}{{ file.mimetype }}{% endif %} {{ file.url.split('/')[2] }}
web.archive.org {% endfor %} -- cgit v1.2.3