summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/container_view.html
diff options
context:
space:
mode:
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r--python/fatcat_web/templates/container_view.html4
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>
&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">