diff options
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 #} |