From 2745fa9561096c7b1264399f0f7088e023cc9463 Mon Sep 17 00:00:00 2001 From: Georgy Litvinov Date: Thu, 18 Mar 2021 12:13:59 +0100 Subject: [PATCH] Workaround for broken documents --- webapp/src/main/webapp/themes/iph/templates/text-lib.ftl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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 44731f6a..d7c5d07d 100644 --- a/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl +++ b/webapp/src/main/webapp/themes/iph/templates/text-lib.ftl @@ -111,8 +111,13 @@ <#macro openDocPart count path > + <#if excerptTextName??> + <#assign buttonText = excerptTextName > + <#else> + <#assign buttonText = "No text" > + <#list 1..count as x> - +