aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat/templates/container_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2018-06-30 22:45:46 -0700
committerBryan Newbold <bnewbold@robocracy.org>2018-06-30 22:45:46 -0700
commitd9d14dfc213d84e8e281b63ba47ac2c028314a65 (patch)
tree72ec6e723d68ea2f6bbc11244d42c08e7837a6d5 /python/fatcat/templates/container_view.html
parent742c33a2958a5c444e4d90c57110b96d9f10339b (diff)
downloadfatcat-d9d14dfc213d84e8e281b63ba47ac2c028314a65.tar.gz
fatcat-d9d14dfc213d84e8e281b63ba47ac2c028314a65.zip
yet more web tweaks
Diffstat (limited to 'python/fatcat/templates/container_view.html')
-rw-r--r--python/fatcat/templates/container_view.html14
1 files changed, 7 insertions, 7 deletions
diff --git a/python/fatcat/templates/container_view.html b/python/fatcat/templates/container_view.html
index 1b8903b2..db7e0d24 100644
--- a/python/fatcat/templates/container_view.html
+++ b/python/fatcat/templates/container_view.html
@@ -16,13 +16,13 @@
<p><b>Publisher:</b>
{% if container.publisher != None %}{{ container.publisher }}{% else %}<i>Unknown</i>{% endif %}
{% if container.coden != None %}
-<p><b>CODEN<sup><a href="https://en.wikipedia.org/wiki/CODEN">?</a></sup>:</b> &nbsp;<code>{{ container.coden }}</code>
+<br><b>CODEN<sup><a href="https://en.wikipedia.org/wiki/CODEN">?</a></sup>:</b> &nbsp;<code>{{ container.coden }}</code>
{% endif %}
{% if container.abbrev != None %}
-<p><b>Abbrev.:</b> &nbsp;<code>{{ container.abbrev }}</code>
+<br><b>Abbrev.:</b> &nbsp;<code>{{ container.abbrev }}</code>
{% endif %}
-{% if (container.extra != None) and (container.extra.url != None) %}
-<p><b>Homepage:</b> <a href="{{ container.extra.url }}">&nbsp;<code>{{ container.extra.url }}</code></a>
+{% if (container.extra != None) and (container.extra['url'] != None) and (container.extra['url']|length > 0) %}
+<br><b>Homepage:</b> <a href="{{ container.extra['url'] }}">&nbsp;<code>{{ container.extra['url'] }}</code></a>
{% endif %}
{% if container.extra != None %}
@@ -53,10 +53,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 != None %}
+ {% if container.extra != 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 != None %}
+ {% if container.extra != 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">
@@ -76,7 +76,7 @@ Raw Object:
<i class="icon times grey"></i> Not in <a href="https://road.issn.org">ISSN ROAD</a><br>
{% endif %}
{% if container.extra.is_kept == True %}
- <i class="icon check green"></i> In <a href="https://thekeepers.org/journals?query={{ container.issnl }}">Keepers Registery</a><br>
+ <i class="icon check green"></i> In <a href="https://thekeepers.org/purl/issn/{{ container.issnl }}">Keepers Registery</a><br>
{% elif container.extra.is_kept == False %}
<i class="icon times grey"></i> Not in <a href="https://thekeepers.org/journals?query={{ container.issnl }}">Keepers Registry</a><br>
{% endif %}