aboutsummaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/entity_view_metadata.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2021-02-26 10:29:57 -0800
committerBryan Newbold <bnewbold@robocracy.org>2021-02-26 12:03:32 -0800
commitd280b1b4fdc57bfd4c0c9cb56fd836d2ae80dbb5 (patch)
tree74ec3a50b361b3c4b3d3035780c2c0a25bc9d586 /python/fatcat_web/templates/entity_view_metadata.html
parent96db9d510a6891594271af7c284c46335b4d7502 (diff)
downloadfatcat-d280b1b4fdc57bfd4c0c9cb56fd836d2ae80dbb5.tar.gz
fatcat-d280b1b4fdc57bfd4c0c9cb56fd836d2ae80dbb5.zip
web: generic view improvements (entities, lists)
Diffstat (limited to 'python/fatcat_web/templates/entity_view_metadata.html')
-rw-r--r--python/fatcat_web/templates/entity_view_metadata.html3
1 files changed, 3 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_view_metadata.html b/python/fatcat_web/templates/entity_view_metadata.html
index 7ccdc5bb..90ce25d9 100644
--- a/python/fatcat_web/templates/entity_view_metadata.html
+++ b/python/fatcat_web/templates/entity_view_metadata.html
@@ -6,6 +6,9 @@
<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>