diff options
author | Bryan Newbold <bnewbold@robocracy.org> | 2022-04-07 14:44:01 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@robocracy.org> | 2022-04-07 14:44:01 -0700 |
commit | ede98644a89afd15d903061e0998dbd08851df6d (patch) | |
tree | 17c54c5764adb2f5d67aa750174f635e0fb1cdc8 /python/fatcat_web/templates/entity_macros.html | |
parent | 2ef72e0c769e94401568ab42def30ddb5268fa98 (diff) | |
parent | 0aaa2a839d7a14716ee1a84b730203a7953dc5e0 (diff) | |
download | fatcat-ede98644a89afd15d903061e0998dbd08851df6d.tar.gz fatcat-ede98644a89afd15d903061e0998dbd08851df6d.zip |
Merge branch 'bnewbold-dataset-ingest-fixes'
Diffstat (limited to 'python/fatcat_web/templates/entity_macros.html')
-rw-r--r-- | python/fatcat_web/templates/entity_macros.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 5f8f6e0a..4386e698 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -75,6 +75,14 @@ <a href="{{ u }}">{{ u }}</a><br> {% endfor %} </code> + {% elif key in ("manifest", "abstracts", "refs", "releases", "files", "webcaptures", "filesets", "urls", "archive_urls", "cdx", "contribs") and value and value is iterable and value is not string %} + <tr><td class="three wide right aligned"><code>{{ key }}[]</code></td> + <td class="seven wide"> + <code> + {% for m in value %} + {% if m != None %}{{ m }}{% endif %}<br> + {% endfor %} + </code> {% else %} <tr><td class="three wide right aligned"><code>{{ key }}</code></td> <td class="seven wide"><code>{% if value != None %}{{ value }}{% endif %}</code> |