From 017d6f96632cd2a083c94bf9c5bbbd107df3e222 Mon Sep 17 00:00:00 2001 From: Bryan Newbold Date: Fri, 26 Feb 2021 14:52:11 -0800 Subject: web: tweak KBART span display --- python/fatcat_web/templates/container_view.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python/fatcat_web') diff --git a/python/fatcat_web/templates/container_view.html b/python/fatcat_web/templates/container_view.html index 128741e5..6ec705b4 100644 --- a/python/fatcat_web/templates/container_view.html +++ b/python/fatcat_web/templates/container_view.html @@ -139,7 +139,7 @@ Preservation Holdings
{%- if container.extra and container.extra.kbart %} {% for k, v in container.extra.kbart.items() %} -

{{ k }}: +
{{ k }}: {% for span in v.year_spans %} {% if span|length >= 2 %} {{ span[0] }}-{{ span[1] }} -- cgit v1.2.3