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:52:05 -0800 |
commit | fa8e4ecc0cece57b3f7fdb5dc77bc28d274c86e1 (patch) | |
tree | 14ed1d39494d1e3515410d700b7b1523da525ca8 | |
parent | d1fd57e7c5dcd9e0062163b4be997808084ef538 (diff) | |
download | fatcat-fa8e4ecc0cece57b3f7fdb5dc77bc28d274c86e1.tar.gz fatcat-fa8e4ecc0cece57b3f7fdb5dc77bc28d274c86e1.zip |
fix empty ISSN bug (container view)
-rw-r--r-- | python/fatcat/templates/container_view.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat/templates/container_view.html b/python/fatcat/templates/container_view.html index ad4905f8..8f1d0c8b 100644 --- a/python/fatcat/templates/container_view.html +++ b/python/fatcat/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"> |