From 178047b3a8795609f2eae21c1bd5848c9a0b43b6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 12 Oct 2021 20:04:48 -0700 Subject: web: implement new schema changes --- python/fatcat_web/templates/container_view.html | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) (limited to 'python/fatcat_web/templates/container_view.html') diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index 0d572c63..ddad07ae 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -88,17 +88,22 @@ {% endif %} {% endif %} -{% if container.issnl != None or container.wikidata_qid != None %} +
+ Type  {{ container.container_type or 'Unknown' }} + Status  {{ container.publication_status or 'Unknown' }} +
+ +{% if container.issnl != None or container.issne != None or container.issnp != None or container.wikidata_qid != None %}
{% if container.issnl != None %} ISSN-L?  {{ container.issnl }} {% endif %} - {% if container.extra != None and container.extra.issnp != None and (container.extra.issnp|length > 0) %} -
Print:  {{ container.extra.issnp }} + {% if container.issnp or (container.extra != None and container.extra.issnp != None and (container.extra.issnp|length > 0)) %} +
Print:  {{ container.issnp or container.extra.issnp }} {% endif %} - {% if container.extra != None and container.extra.issne != None and (container.extra.issne|length > 0) %} -
Electronic:  {{ container.extra.issne }} + {% if container.issne or (container.extra != None and container.extra.issne != None and (container.extra.issne|length > 0)) %} +
Electronic:  {{ container.issne or container.extra.issne }} {% endif %}
{% if container.wikidata_qid != None %} -- cgit v1.2.3