summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/fatcat/templates/release_view.html4
1 files 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...
<tbody>
{% for file in files %}
<tr><td><small><code><a href="/file/{{ file.ident }}">{{ file.sha1}}</a></code></small>
- <td>{{ file.size }}
- <td>{{ file.mimetype }}
+ <td>{% if file.size != None %}{{ file.size }}{% endif %}
+ <td>{% if file.mimetype != None %}{{ file.mimetype }}{% endif %}
<td><a href="{{ file.url }}">{{ file.url.split('/')[2] }}</a>
<br><a href="https://web.archive.org/web/1/{{ file.url }}">web.archive.org</a>
{% endfor %}