From 42820bce182cdd212d666093a99509b5ac259571 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 20 Dec 2019 19:42:16 -0800 Subject: datacite release links and metadata expansion Small ergonomic changes for datacite releases: - add a link to live/current datacite metadata (like we do for Crossref) - expand "extra" metadata fields under 'datacite' dict in metadata view --- python/fatcat_web/templates/entity_macros.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (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 390327bc..df26a738 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -65,7 +65,7 @@ {% for (key, value) in extra.items()|sort %} - {% if key in ("ia", "crossref", "kbart", "arxiv", "jstor", "pubmed") and value is mapping and value %} + {% if key in ("ia", "crossref", "datacite", "kbart", "arxiv", "jstor", "pubmed") and value is mapping and value %} {% for (inner_key, inner_value) in value.items()|sort %}
{{ key }}.{{ inner_key }} {{ inner_value }} @@ -273,4 +273,4 @@ found.count_returned }} out of {{ found.count_found }} results   -{%- endmacro %} \ No newline at end of file +{%- endmacro %} -- cgit v1.2.3