diff options
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r-- | python/fatcat_web/templates/container_view.html | 15 |
1 files changed, 10 insertions, 5 deletions
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 %} +<div class="ui segment attached"> + <b>Type</b> {{ container.container_type or 'Unknown' }} + <b>Status</b> {{ container.publication_status or 'Unknown' }} +</div> + +{% if container.issnl != None or container.issne != None or container.issnp != None or container.wikidata_qid != None %} <div class="ui segment attached"> {% 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> {% endif %} - {% 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> + {% if container.issnp or (container.extra != None and container.extra.issnp != None and (container.extra.issnp|length > 0)) %} + <br><i class="icon paperclip"></i>Print: <code>{{ container.issnp or container.extra.issnp }}</code> {% endif %} - {% 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> + {% if container.issne or (container.extra != None and container.extra.issne != None and (container.extra.issne|length > 0)) %} + <br><i class="icon plug"></i>Electronic: <code>{{ container.issne or container.extra.issne }}</code> {% endif %} <br> {% if container.wikidata_qid != None %} |