diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-03 20:51:34 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-12-03 20:51:34 -0800 |
commit | 338087bfc8cc3def6af7d7de998e7995d53aa64e (patch) | |
tree | 643f57850132b7dd5ca80232daea205ee815b123 | |
parent | d5d3d17b681ce7ba91ae4aedad52cd306b254c91 (diff) | |
download | fatcat-338087bfc8cc3def6af7d7de998e7995d53aa64e.tar.gz fatcat-338087bfc8cc3def6af7d7de998e7995d53aa64e.zip |
fix empty ISSN bug (container view)
-rw-r--r-- | python/fatcat_web/templates/container_view.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index c2ca7327..29f0b9d9 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -56,10 +56,10 @@ Raw Object: {% if container.issnl != None %} <b>ISSN-L<sup><a href="https://en.wikipedia.org/wiki/International_Standard_Serial_Number#Linking_ISSN">?</a></sup></b> <code>{{ container.issnl }}</code> - {% if container.extra != None and (container.extra.ISSNp|length > 0) %} + {% if container.extra != None and container.extra.ISSNp != None and (container.extra.ISSNp|length > 0) %} <br><i class="icon paperclip"></i>Print: <code>{{ container.extra.ISSNp }}</code> {% endif %} - {% if container.extra != None and (container.extra.ISSNe|length > 0) %} + {% if container.extra != None and container.extra.ISSNe != None and (container.extra.ISSNe|length > 0) %} <br><i class="icon plug"></i>Electronic: <code>{{ container.extra.ISSNe }}</code> {% endif %} </div><div class="ui segment attached"> |