diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-02 18:11:09 -0800 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2019-03-02 18:11:09 -0800 |
commit | bfc496de58cf0317574252c621d6b8e680df2ffc (patch) | |
tree | ae3259eb016386df694441ebfc3142abbacd58a9 /python/fatcat_web/templates/release_view.html | |
parent | 0c4450dfe8b3325ed81f2f24f15ba6e7835d4205 (diff) | |
download | fatcat-bfc496de58cf0317574252c621d6b8e680df2ffc.tar.gz fatcat-bfc496de58cf0317574252c621d6b8e680df2ffc.zip |
revert collapsing extra key; do use template in release view
Diffstat (limited to 'python/fatcat_web/templates/release_view.html')
-rw-r--r-- | python/fatcat_web/templates/release_view.html | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/python/fatcat_web/templates/release_view.html b/python/fatcat_web/templates/release_view.html index ad2daeb2..d2eb79cc 100644 --- a/python/fatcat_web/templates/release_view.html +++ b/python/fatcat_web/templates/release_view.html @@ -113,16 +113,9 @@ <br><small><i>In <code>{{ release.abstracts[0].mimetype }}</code> format</i></small> {% endif %} -{% if release.extra %} -<h3>Extra Metadata (raw JSON)</h3> -<table class="ui definition single line fixed compact small unstackable table"> -<tbody> -{% for (key, value) in release.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 %} |