From 338087bfc8cc3def6af7d7de998e7995d53aa64e Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Mon, 3 Dec 2018 20:51:34 -0800 Subject: fix empty ISSN bug (container view) --- python/fatcat_web/templates/container_view.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'python') 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 %} ISSN-L?  {{ container.issnl }} - {% 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) %}
Print:  {{ container.extra.ISSNp }} {% 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) %}
Electronic:  {{ container.extra.ISSNe }} {% endif %}
-- cgit v1.2.3