aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_macros.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-10-12 20:04:48 -0700
committerBryan Newbold <bnewbold@robocracy.org>2021-10-13 16:21:30 -0700
commit178047b3a8795609f2eae21c1bd5848c9a0b43b6 (patch)
tree653ea55e632db0530955cb8ff10dc0609392e057 /python/fatcat_web/templates/entity_macros.html
parentaeedc23706cd66ae2e753a0ad5603a66049e757c (diff)
downloadfatcat-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.html11
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> &nbsp;
{% endif %}
+ {% if paper.hdl %}
+ <a href="https://hdl.handle.net/{{ paper.hdl }}" style="color: green;">hdl:{{ paper.hdl}}</a> &nbsp;
+ {% endif %}
{# WIP: elastic release work grouping searches
<br>
@@ -276,6 +279,9 @@
{% if entity.container_type %}
&nbsp;{{ entity.container_type }}
{% endif %}
+ {% if entity.publication_status and entity.publication_status != "active" %}
+ &nbsp;{{ 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>&nbsp;
{% 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>&nbsp;
+ {% endif %}
{% endmacro %}
{# similar to the release_summary above, but for CSL-JSON #}