summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-07-02 12:35:27 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-07-02 12:48:12 -0700
commit526620c7bc43a6cb1b3540a923dca9531d6dceb3 (patch)
treed12bd1f0e4d4a2949494021444c4fe3b8f01fe70
parent31ce8147ee2e568314eea838df0e1ef182fe40a1 (diff)
downloadfatcat-526620c7bc43a6cb1b3540a923dca9531d6dceb3.tar.gz
fatcat-526620c7bc43a6cb1b3540a923dca9531d6dceb3.zip
web: PMCID external link improvement
-rw-r--r--python/fatcat_web/templates/entity_macros.html2
-rw-r--r--python/fatcat_web/templates/release_view.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html
index dd751a56..8b6576b7 100644
--- a/python/fatcat_web/templates/entity_macros.html
+++ b/python/fatcat_web/templates/entity_macros.html
@@ -235,7 +235,7 @@
<a href="https://doi.org/{{paper.doi }}" style="color: green;">doi:{{ paper.doi }}</a> &nbsp;
{% endif %}
{% if paper.pmcid %}
- <a href="https://pubmed.ncbi.nlm.nih.gov/{{paper.pmcid }}/" style="color: green;">pmcid:{{ paper.pmcid }}</a> &nbsp;
+ <a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ paper.pmcid }}/" style="color: green;">pmcid:{{ paper.pmcid }}</a> &nbsp;
{% elif paper.pmid %}
<a href="https://www.ncbi.nlm.nih.gov/pubmed/{{paper.pmid }}" style="color: green;">pmid:{{ paper.pmid }}</a> &nbsp;
{% endif %}
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html
index a9e284ba..abf7ace0 100644
--- a/python/fatcat_web/templates/release_view.html
+++ b/python/fatcat_web/templates/release_view.html
@@ -280,7 +280,7 @@ accessible version.
<b>PubMed</b> &nbsp;<a href="https://www.ncbi.nlm.nih.gov/pubmed/{{ release.ext_ids.pmid }}"><code>{{ release.ext_ids.pmid }}</code></a><br>
{% endif %}
{% if release.ext_ids.pmcid != None %}
- <b>PMC</b> &nbsp;<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ release.ext_ids.pmcid }}"><code>{{ release.ext_ids.pmcid }}</code></a><br>
+ <b>PMC</b> &nbsp;<a href="https://www.ncbi.nlm.nih.gov/pmc/articles/{{ release.ext_ids.pmcid }}/"><code>{{ release.ext_ids.pmcid }}</code></a><br>
{% endif %}
{% if release.ext_ids.wikidata_qid != None %}
<b>Wikidata</b> &nbsp;<a href="https://www.wikidata.org/wiki/{{ release.ext_ids.wikidata_qid }}"><code>{{ release.ext_ids.wikidata_qid }}</code></a><br>