diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 17:17:22 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-06-13 17:17:22 -0700 |
commit | 16126c5901c435ea6610eff8b7211226c6f125d5 (patch) | |
tree | 429a4772a4990e8158f0dbc9714b02c8b0412f07 /python/fatcat_web/templates/entity_view_metadata.html | |
parent | f1abe85e8c35a23122f65b47dd55d8135239cf93 (diff) | |
download | fatcat-16126c5901c435ea6610eff8b7211226c6f125d5.tar.gz fatcat-16126c5901c435ea6610eff8b7211226c6f125d5.zip |
refactor all entities to new UI style
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 %} + |