diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 21:36:25 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2018-06-30 21:36:25 -0700 |
commit | 742c33a2958a5c444e4d90c57110b96d9f10339b (patch) | |
tree | 035881e6088af5538f4385228bf485b69c7b234e /python/fatcat/templates/file_view.html | |
parent | 983271083bd40d12766d38f6dfbf8ea3835670d4 (diff) | |
download | fatcat-742c33a2958a5c444e4d90c57110b96d9f10339b.tar.gz fatcat-742c33a2958a5c444e4d90c57110b96d9f10339b.zip |
better extra json printing
Diffstat (limited to 'python/fatcat/templates/file_view.html')
-rw-r--r-- | python/fatcat/templates/file_view.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/python/fatcat/templates/file_view.html b/python/fatcat/templates/file_view.html index 7f6cc143..e42d7d75 100644 --- a/python/fatcat/templates/file_view.html +++ b/python/fatcat/templates/file_view.html @@ -14,8 +14,10 @@ <div class="ten wide column"> {% if file.extra != None %} -<p><b>Additional Metadata (raw JSON):</b> -<code>{{ file.extra }}</code> +<h3>Extra Metadata (raw JSON)</h3> +{% for (key, value) in file.extra.items() %} +<code><b>{{ key }}:</b> {{ value }}</code><br> +{% endfor %} {% endif %} <h3>Releases</h3> |