From 178047b3a8795609f2eae21c1bd5848c9a0b43b6 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 12 Oct 2021 20:04:48 -0700 Subject: web: implement new schema changes --- python/fatcat_web/templates/entity_macros.html | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'python/fatcat_web/templates/entity_macros.html') 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 %}
{% endif %} {% if paper.doi %} @@ -251,6 +251,9 @@ {% if paper.dblp_id %} dblp:{{ paper.dblp_id }}   {% endif %} + {% if paper.hdl %} + hdl:{{ paper.hdl}}   + {% endif %} {# WIP: elastic release work grouping searches
@@ -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 %} {% endmacro %} @@ -449,6 +455,9 @@ yellow {% if release.ext_ids.dblp %} dblp:{{ release.ext_ids.dblp }}  {% endif %} + {% if release.ext_ids.hdl %} + hdl:{{ release.ext_ids.hdl }}  + {% endif %} {% endmacro %} {# similar to the release_summary above, but for CSL-JSON #} -- cgit v1.2.3