diff options
author | bnewbold <bnewbold@archive.org> | 2021-02-26 22:33:52 +0000 |
---|---|---|
committer | bnewbold <bnewbold@archive.org> | 2021-02-26 22:33:52 +0000 |
commit | df79a3dd9ffae5fcb8f32ea331c49ae4e9d998ed (patch) | |
tree | 1b4c4b589a43a36c0a11b578d6f4f96c3129213a /python/fatcat_web/templates/entity_view_metadata.html | |
parent | 67ee012ccc63ffcd98964ab58b2bcc49c5b6693a (diff) | |
parent | a5e9309c148019539127f41d7fefd722d0ae3bf2 (diff) | |
download | fatcat-df79a3dd9ffae5fcb8f32ea331c49ae4e9d998ed.tar.gz fatcat-df79a3dd9ffae5fcb8f32ea331c49ae4e9d998ed.zip |
Merge branch 'bnewbold-202102-tweaks' into 'master'
Feb 2021 web UI/UX tweaks
See merge request webgroup/fatcat!96
Diffstat (limited to 'python/fatcat_web/templates/entity_view_metadata.html')
-rw-r--r-- | python/fatcat_web/templates/entity_view_metadata.html | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/python/fatcat_web/templates/entity_view_metadata.html b/python/fatcat_web/templates/entity_view_metadata.html index 5ce97d10..90ce25d9 100644 --- a/python/fatcat_web/templates/entity_view_metadata.html +++ b/python/fatcat_web/templates/entity_view_metadata.html @@ -4,13 +4,16 @@ {% block entity_main %} +<h3>Entity Metadata (schema)</h3> +{{ entity_macros.extra_metadata(entity._metadata) }} +<div style="float: right;"> + <a href="{{ config.FATCAT_API_HOST }}/{{ entity_type }}/{{ entity.ident }}">As JSON via API</a> +</div> + {% if entity.extra %} <h3>Extra Metadata (raw JSON)</h3> {{ entity_macros.extra_metadata(entity.extra) }} {% endif %} -<h3>Entity Metadata (schema)</h3> -{{ entity_macros.extra_metadata(entity._metadata) }} - {% endblock %} |