From ab3236c270e90e067dde34b98ed33576630728b7 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Mon, 18 Oct 2021 13:22:00 +0200 Subject: [PATCH] leave internal bibliography and sources collapsed by default --- .../main/webapp/themes/iph/templates/text-lib.ftl | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl b/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl index 56b90055a..7df9ec969 100644 --- a/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl @@ -132,7 +132,11 @@ -
+ <#if filter="none"> +
+ <#else> +
+ <#assign lastSource = ""/> <#list sources as source> <#if filter == "none" && lastSource != source.works || source.excerpt == filter > @@ -158,7 +162,11 @@ -
+ <#if filter="none"> +
+ <#else> +