summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-12-21 15:39:58 -0800
committerBryan Newbold <bnewbold@robocracy.org>2018-12-21 15:39:58 -0800
commit875470c246293458529fa70d08b3abd0a7b2742e (patch)
treee568d3d0dfa364a522580067160feac827197218 /python/fatcat_web/templates
parenta1c457661f3ba528470922eda4383cc544d105c0 (diff)
downloadfatcat-875470c246293458529fa70d08b3abd0a7b2742e.tar.gz
fatcat-875470c246293458529fa70d08b3abd0a7b2742e.zip
SHA1 no longer required on file entities
Diffstat (limited to 'python/fatcat_web/templates')
-rw-r--r--python/fatcat_web/templates/release_view.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 39dcf8fd..85492eba 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -123,7 +123,7 @@ Raw Object:
</thead>
<tbody>
{% for file in files %}
- <tr><td><small><code><a href="/file/{{ file.ident }}">{{ file.sha1[:16] + "..." }}</a></code></small>
+ <tr><td><small><code><a href="/file/{{ file.ident }}">{% if file.sha1 != None %}{{ file.sha1[:16] + "..." }}{% else %}N/A{% endif %}</a></code></small>
<td>{% if file.size != None %}{{ file.size }}{% endif %}
<td>{% if file.mimetype != None %}{{ file.mimetype }}{% endif %}
<td>{% for url in file.urls %}