From 3caa8905ef2f413ec8fa107dd54f03356f4052d8 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Sat, 6 Apr 2019 19:21:52 -0700 Subject: remove title from metadata macro --- python/fatcat_web/templates/container_view.html | 1 + python/fatcat_web/templates/creator_view.html | 1 + python/fatcat_web/templates/entity_macros.html | 1 - python/fatcat_web/templates/file_view.html | 1 + python/fatcat_web/templates/fileset_view.html | 1 + python/fatcat_web/templates/release_view.html | 1 + python/fatcat_web/templates/webcapture_view.html | 1 + python/fatcat_web/templates/work_view.html | 1 + 8 files changed, 7 insertions(+), 1 deletion(-) (limited to 'python') diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index 3d0627ca..619bd647 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -41,6 +41,7 @@ {% if entity.extra %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} diff --git a/python/fatcat_web/templates/creator_view.html b/python/fatcat_web/templates/creator_view.html index 8f61d74b..63308a51 100644 --- a/python/fatcat_web/templates/creator_view.html +++ b/python/fatcat_web/templates/creator_view.html @@ -32,6 +32,7 @@ {% endif %} {% if entity.extra != None %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 6d9ceed0..90c8e952 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -26,7 +26,6 @@ {% macro extra_metadata(extra) -%} -

Extra Metadata (raw JSON)

{% for (key, value) in extra.items() %} diff --git a/python/fatcat_web/templates/file_view.html b/python/fatcat_web/templates/file_view.html index 7a428b55..097ee5f6 100644 --- a/python/fatcat_web/templates/file_view.html +++ b/python/fatcat_web/templates/file_view.html @@ -17,6 +17,7 @@
{% if entity.extra %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} diff --git a/python/fatcat_web/templates/fileset_view.html b/python/fatcat_web/templates/fileset_view.html index ada2ae51..7f41e617 100644 --- a/python/fatcat_web/templates/fileset_view.html +++ b/python/fatcat_web/templates/fileset_view.html @@ -17,6 +17,7 @@
{% if entity.extra %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index ff044c49..4849842c 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -191,6 +191,7 @@ {% if entity.extra %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} diff --git a/python/fatcat_web/templates/webcapture_view.html b/python/fatcat_web/templates/webcapture_view.html index 921d5d48..1dd179f6 100644 --- a/python/fatcat_web/templates/webcapture_view.html +++ b/python/fatcat_web/templates/webcapture_view.html @@ -21,6 +21,7 @@ {% if entity.extra %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} diff --git a/python/fatcat_web/templates/work_view.html b/python/fatcat_web/templates/work_view.html index 7842ec50..507498c8 100644 --- a/python/fatcat_web/templates/work_view.html +++ b/python/fatcat_web/templates/work_view.html @@ -17,6 +17,7 @@
{% if entity.extra != None %} +

Extra Metadata (raw JSON)

{{ entity_macros.extra_metadata(entity.extra) }} {% endif %} -- cgit v1.2.3