diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-21 15:39:58 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-21 15:39:58 -0800 |
commit | 875470c246293458529fa70d08b3abd0a7b2742e (patch) | |
tree | e568d3d0dfa364a522580067160feac827197218 | |
parent | a1c457661f3ba528470922eda4383cc544d105c0 (diff) | |
download | fatcat-875470c246293458529fa70d08b3abd0a7b2742e.tar.gz fatcat-875470c246293458529fa70d08b3abd0a7b2742e.zip |
SHA1 no longer required on file entities
-rw-r--r-- | python/fatcat_web/templates/release_view.html | 2 |
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 %} |