diff --git a/webapp/src/main/webapp/templates/freemarker/elenphExcerpt-internal.ftl b/webapp/src/main/webapp/templates/freemarker/elenphExcerpt-internal.ftl index 01650cde..9c7e409a 100644 --- a/webapp/src/main/webapp/templates/freemarker/elenphExcerpt-internal.ftl +++ b/webapp/src/main/webapp/templates/freemarker/elenphExcerpt-internal.ftl @@ -125,12 +125,17 @@ + <#assign htmlExcerpt = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#htmlExcerpt")!> - <#if htmlExcerpt.statements?has_content && htmlExcerpt.type == "data"> -
- <@p.dataPropertyList htmlExcerpt editable /> - <#-- object property --> -
+ <#if htmlExcerpt?has_content > + <#if htmlExcerpt.statements?has_content && htmlExcerpt.type == "data"> +
+ <@p.dataPropertyList htmlExcerpt editable /> + <#-- object property --> +
+ <#else> +
Текст отрывка: <@p.addLink htmlExcerpt editable /> <@p.verboseDisplay htmlExcerpt />
+ <#assign works = propertyGroups.pullProperty("https://iph.ras.ru/text_structures#works")!> diff --git a/webapp/src/main/webapp/templates/freemarker/rubrics.ftl b/webapp/src/main/webapp/templates/freemarker/rubrics.ftl index 75d0b045..ae08ad5a 100644 --- a/webapp/src/main/webapp/templates/freemarker/rubrics.ftl +++ b/webapp/src/main/webapp/templates/freemarker/rubrics.ftl @@ -2,7 +2,7 @@ <#if !rubric.parentUri??> <#assign childs = rubric.childs?number> + <@openButton childs=childs/>${rubric.name}