From 5621d42127ad11dd032842b8b99903ff002c73d0 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Thu, 4 Apr 2019 20:24:02 -0700 Subject: web editing of container urls --- python/fatcat_web/templates/entity_macros.html | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'python/fatcat_web/templates/entity_macros.html') diff --git a/python/fatcat_web/templates/entity_macros.html b/python/fatcat_web/templates/entity_macros.html index 3e83b9d4..6d9ceed0 100644 --- a/python/fatcat_web/templates/entity_macros.html +++ b/python/fatcat_web/templates/entity_macros.html @@ -35,6 +35,14 @@ {{ key }}.{{ inner_key }} {{ inner_value }} {% endfor %} + {% elif key in ("urls") and value and value is iterable and value is not string %} + {{ key }} + + + {% for u in value %} + {{ u }}
+ {% endfor %} +
{% else %} {{ key }} {{ value }} -- cgit v1.2.3