summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-05-21 19:44:06 -0700
committerBryan Newbold <bnewbold@robocracy.org>2019-05-21 19:44:52 -0700
commitff593656f7931d7d6eae9ed56037aabf2c77ce4e (patch)
tree5daed050a2bebec1fb16c2253498e395c63c9738 /python/fatcat_web
parentaf1f65b980a4faf01004b617a7c34f80c380132b (diff)
downloadfatcat-ff593656f7931d7d6eae9ed56037aabf2c77ce4e.tar.gz
fatcat-ff593656f7931d7d6eae9ed56037aabf2c77ce4e.zip
include arxiv, jstor IDs in side bar
Diffstat (limited to 'python/fatcat_web')
-rw-r--r--python/fatcat_web/templates/release_view.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index 66388236..a5977166 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -360,7 +360,7 @@
</div>
{% endif %}
-{% if release.number or release.ext_ids.doi or release.ext_ids.pmid or release.ext_ids.pmcid or release.ext_ids.wikidata_qid or release.ext_ids.isbn13 %}
+{% if release.number or release.ext_ids.doi or release.ext_ids.pmid or release.ext_ids.pmcid or release.ext_ids.wikidata_qid or release.ext_ids.isbn13 or release.ext_ids.arxiv or release.ext_ids.jstor or release.ext_ids.ark %}
<div class="ui segment attached" style="word-wrap: break-word;">
{% if release.number %}
<b>Number</b> &nbsp;<code>{{ release.number }}</code><br>
@@ -383,6 +383,9 @@
{% if release.ext_ids.arxiv != None %}
<b>arXiv</b> &nbsp;<a href="https://arxiv.org/abs/{{ release.ext_ids.arxiv }}"><code>{{ release.ext_ids.arxiv }}</code></a><br>
{% endif %}
+{% if release.ext_ids.jstor != None %}
+ <b>JSTOR</b> &nbsp;<a href="https://jstor.org/stable/{{ release.ext_ids.jstor}}"><code>{{ release.ext_ids.jstor }}</code></a><br>
+{% endif %}
{% if release.ext_ids.ark != None %}
<b>ARK</b> &nbsp;<a href="https://n2t.net/{{ release.ext_ids.ark }}"><code>{{ release.ext_ids.ark }}</code></a><br>
{% endif %}