diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 22:45:46 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 22:45:46 -0700 |
commit | d9d14dfc213d84e8e281b63ba47ac2c028314a65 (patch) | |
tree | 72ec6e723d68ea2f6bbc11244d42c08e7837a6d5 /python/fatcat/templates/container_view.html | |
parent | 742c33a2958a5c444e4d90c57110b96d9f10339b (diff) | |
download | fatcat-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.html | 14 |
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> <code>{{ container.coden }}</code> +<br><b>CODEN<sup><a href="https://en.wikipedia.org/wiki/CODEN">?</a></sup>:</b> <code>{{ container.coden }}</code> {% endif %} {% if container.abbrev != None %} -<p><b>Abbrev.:</b> <code>{{ container.abbrev }}</code> +<br><b>Abbrev.:</b> <code>{{ container.abbrev }}</code> {% endif %} -{% if (container.extra != None) and (container.extra.url != None) %} -<p><b>Homepage:</b> <a href="{{ container.extra.url }}"> <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'] }}"> <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> <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: <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: <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 %} |