From f9dc23aab85516a08fa17ab26796b93cbc610e8f Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Tue, 15 Feb 2022 13:08:51 -0800 Subject: web: remove generic entity fields from 'metadata' tab --- python/fatcat_web/templates/entity_view_metadata.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'python/fatcat_web/templates/entity_view_metadata.html') diff --git a/python/fatcat_web/templates/entity_view_metadata.html b/python/fatcat_web/templates/entity_view_metadata.html index d1bd3c30..80aaf19c 100644 --- a/python/fatcat_web/templates/entity_view_metadata.html +++ b/python/fatcat_web/templates/entity_view_metadata.html @@ -5,7 +5,15 @@ {% block entity_main %}

Entity Metadata (schema)

-{{ entity_macros.extra_metadata(entity._metadata) }} +{% if entity._metadata %} + {{ entity_macros.extra_metadata(entity._metadata) }} +{% else %} + + + + +
No specific metadata for this entity
+{% endif %}
As JSON via API
-- cgit v1.2.3