aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--python/fatcat/templates/container_view.html4
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>
&nbsp;<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: &nbsp;<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: &nbsp;<code>{{ container.extra.ISSNe }}</code>
{% endif %}
</div><div class="ui segment attached">