diff options
Diffstat (limited to 'python/fatcat_web/templates/entity_view_metadata.html')
-rw-r--r-- | python/fatcat_web/templates/entity_view_metadata.html | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_view_metadata.html b/python/fatcat_web/templates/entity_view_metadata.html new file mode 100644 index 00000000..5ce97d10 --- /dev/null +++ b/python/fatcat_web/templates/entity_view_metadata.html @@ -0,0 +1,16 @@ +{% set entity_view = "metadata" %} +{% import "entity_macros.html" as entity_macros %} +{% extends "entity_base.html" %} + +{% block entity_main %} + +{% 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 %} + |