diff options
Diffstat (limited to 'python/fatcat_web/templates/file_view.html')
-rw-r--r-- | python/fatcat_web/templates/file_view.html | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html index 0f5a5fc6..3afd0099 100644 --- a/python/fatcat_web/templates/file_view.html +++ b/python/fatcat_web/templates/file_view.html @@ -55,11 +55,12 @@ No known archives or mirrors of this file. No Public URL </span> {% endif %} -<br> -<div class="ui top segment attached"> +<div class="ui top attached segment"> {% if file.size != None %} <b>Size</b> {{ file.size|filesizeformat }}<br> + {% else %} + <b>Size</b> <i>(unknown)</i><br> {% endif %} {% if file.mimetype != None %} <b>MIME Type</b> <code>{{ file.mimetype }}</code><br> |