aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/file_view.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html
index 8ed7b084..3afd0099 100644
--- a/python/fatcat_web/templates/file_view.html
+++ b/python/fatcat_web/templates/file_view.html
@@ -59,6 +59,8 @@ No known archives or mirrors of this file.
<div class="ui top attached segment">
{% if file.size != None %}
<b>Size</b> &nbsp;{{ file.size|filesizeformat }}<br>
+ {% else %}
+ <b>Size</b> &nbsp;<i>(unknown)</i><br>
{% endif %}
{% if file.mimetype != None %}
<b>MIME Type</b> &nbsp;<code>{{ file.mimetype }}</code><br>