summaryrefslogtreecommitdiffstats
path: root/python/fatcat_web/templates/container_view.html
diff options
context:
space:
mode:
authorBryan Newbold <bnewbold@robocracy.org>2019-03-02 18:11:09 -0800
committerBryan Newbold <bnewbold@robocracy.org>2019-03-02 18:11:09 -0800
commitbfc496de58cf0317574252c621d6b8e680df2ffc (patch)
treeae3259eb016386df694441ebfc3142abbacd58a9 /python/fatcat_web/templates/container_view.html
parent0c4450dfe8b3325ed81f2f24f15ba6e7835d4205 (diff)
downloadfatcat-bfc496de58cf0317574252c621d6b8e680df2ffc.tar.gz
fatcat-bfc496de58cf0317574252c621d6b8e680df2ffc.zip
revert collapsing extra key; do use template in release view
Diffstat (limited to 'python/fatcat_web/templates/container_view.html')
-rw-r--r--python/fatcat_web/templates/container_view.html14
1 files changed, 4 insertions, 10 deletions
diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html
index c8f51f5f..677a295e 100644
--- a/python/fatcat_web/templates/container_view.html
+++ b/python/fatcat_web/templates/container_view.html
@@ -37,18 +37,12 @@
</form>
{% endif %}
-{% if container.extra %}
-<h3>Extra Metadata (raw JSON)</h3>
-<table class="ui definition single line fixed compact small unstackable table">
-<tbody>
-{% for (key, value) in container.extra.items() %}
- <tr><td class="three wide right aligned"><code>{{ key }}</code></td>
- <td class="seven wide"><code>{{ value }}</code>
-{% endfor %}
-</tbody>
-</table>
+
+{% if entity.extra %}
+ {{ entity_macros.extra_metadata(entity.extra) }}
{% endif %}
+
</div>
<div class="five wide column">
<div class="ui segment top attached">