diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-20 19:42:16 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-12-20 19:42:18 -0800 |
commit | 42820bce182cdd212d666093a99509b5ac259571 (patch) | |
tree | 31ca6176c846544d309fd63c4bbf640318c796e9 /python/fatcat_web/templates/entity_macros.html | |
parent | 2a227f544fc9663878516fba53ad41860cda6d5b (diff) | |
download | fatcat-42820bce182cdd212d666093a99509b5ac259571.tar.gz fatcat-42820bce182cdd212d666093a99509b5ac259571.zip |
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
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ <table class="ui definition single line fixed compact small unstackable table"> <tbody> {% 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 %} <tr><td class="three wide right aligned"><code>{{ key }}.{{ inner_key }}</code></td> <td class="seven wide"><code>{{ inner_value }}</code> @@ -273,4 +273,4 @@ found.count_returned }} out of {{ found.count_found }} results</i> </div> -{%- endmacro %}
\ No newline at end of file +{%- endmacro %} |