From 264dbd984dd916428a99b445c7131538c5176f9d Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 30 Jun 2018 14:50:51 -0700 Subject: update container view --- python/fatcat/templates/container_view.html | 91 ++++++++++++++++++++++++++--- 1 file changed, 83 insertions(+), 8 deletions(-) diff --git a/python/fatcat/templates/container_view.html b/python/fatcat/templates/container_view.html index 6c5e5581..47a6dcbf 100644 --- a/python/fatcat/templates/container_view.html +++ b/python/fatcat/templates/container_view.html @@ -1,21 +1,32 @@ {% extends "base.html" %} -{% block body %} +{% block fullbody %} -

{{ container.name }}

+
+
+
+

{{ container.name }} +
container {{ container.ident }}

+
+
-

Publisher: {{ container.publisher }} -

ISSN-L?: - {{ container.issnl }} +

+
+
+ +

Publisher: +{% if container.publisher != None %}{{ container.publisher }}{% else %}Unknown{% endif %} {% if container.coden != None %}

CODEN?: {{ container.coden }} {% endif %} {% if container.abbrev != None %} -

Abbreviation: {{ container.abbrev }} +

Abbrev.: {{ container.abbrev }} +{% endif %} +{% if (container.extra != None) and (container.extra.url != None) %} +

Homepage: {{ container.extra.url }} {% endif %} -

fatcat Container Identifier: {{ container.ident }} (revision #{{ container.revision }}, {{ container.state }}) {% if container.extra != None %}

Additional Metadata (raw JSON): -

{{ container.extra }}
+{{ container.extra }} {% endif %} +
+
+
+ +{% if container.extra.is_oa == True %} +Open Access Publisher +{% elif container.extra.is_oa == False %} +Not Open Access +{% else %} +Unknown OA Status +{% endif %} +
+ +{% if container.issnl != None %} + ISSN-L? + {{ container.issnl }} + {% if container.extra != None and container.extra.ISSNp != None %} +
Print: {{ container.extra.ISSNp }} + {% endif %} + {% if container.extra != None and container.extra.ISSNe != None %} +
Electronic: {{ container.extra.ISSNe }} + {% endif %} +
+{% endif %} + + +Directory Listings
+{% if (container.extra != None) %} + {% if container.extra.in_doaj == True %} + In DOAJ
+ {% elif container.extra.in_doaj == False %} + Not in DOAJ
+ {% endif %} + {% if container.extra.in_road == True %} + In ISSN ROAD
+ {% elif container.extra.in_road == False %} + Not in ISSN ROAD
+ {% endif %} + {% if container.extra.is_kept == True %} + In Keepers Registery
+ {% elif container.extra.is_kept == False %} + Not in Keepers Registry
+ {% endif %} +{% endif %} +
+ +Lookup Links +
SHERPA/RoMEO (access policies) +
wikidata.org +
+ +Fatcat Bits +

Revision #{{ container.revision }}. State is "{{ container.state }}" +
As JSON object via API + +

+ + +
+
+ {% endblock %} -- cgit v1.2.3