diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2021-10-12 20:04:48 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2021-10-13 16:21:30 -0700 |
commit | 178047b3a8795609f2eae21c1bd5848c9a0b43b6 (patch) | |
tree | 653ea55e632db0530955cb8ff10dc0609392e057 /python/fatcat_web/templates/entity_macros.html | |
parent | aeedc23706cd66ae2e753a0ad5603a66049e757c (diff) | |
download | fatcat-178047b3a8795609f2eae21c1bd5848c9a0b43b6.tar.gz fatcat-178047b3a8795609f2eae21c1bd5848c9a0b43b6.zip |
web: implement new schema changes
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 6b565f69..9ebff060 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -228,7 +228,7 @@ {% endif %} {# ### IDENTIFIERS #} - {% if paper.doi or paper.pmcid or paper.pmid or paper.arxiv_id or paper.jstor_id or paper.doaj_id or paper.dblp_id %} + {% if paper.doi or paper.pmcid or paper.pmid or paper.arxiv_id or paper.jstor_id or paper.doaj_id or paper.dblp_id or paper.hdl %} <br> {% endif %} {% if paper.doi %} @@ -251,6 +251,9 @@ {% if paper.dblp_id %} <a href="https://dblp.org/rec/{{ paper.dblp_id }}.html" style="color: green;">dblp:{{ paper.dblp_id }}</a> {% endif %} + {% if paper.hdl %} + <a href="https://hdl.handle.net/{{ paper.hdl }}" style="color: green;">hdl:{{ paper.hdl}}</a> + {% endif %} {# WIP: elastic release work grouping searches <br> @@ -276,6 +279,9 @@ {% if entity.container_type %} {{ entity.container_type }} {% endif %} + {% if entity.publication_status and entity.publication_status != "active" %} + {{ entity.publication_status }} + {% endif %} </div> {% endmacro %} @@ -449,6 +455,9 @@ yellow {% if release.ext_ids.dblp %} <a href="#" style="color:green;">dblp:{{ release.ext_ids.dblp }}</a> {% endif %} + {% if release.ext_ids.hdl %} + <a href="https://hdl.handle.net/{{ release.ext_ids.hdl }}" style="color:green;">hdl:{{ release.ext_ids.hdl }}</a> + {% endif %} {% endmacro %} {# similar to the release_summary above, but for CSL-JSON #} |