diff --git a/ccm-navigation/web/themes/freemarker/ccm-navigation/object-list.ftl b/ccm-navigation/web/themes/freemarker/ccm-navigation/object-list.ftl index 6c7f13e19..cb9fbfd3c 100644 --- a/ccm-navigation/web/themes/freemarker/ccm-navigation/object-list.ftl +++ b/ccm-navigation/web/themes/freemarker/ccm-navigation/object-list.ftl @@ -90,6 +90,10 @@ <#return item["./nav:attribute[@name='lead']"]> +<#function getItemProperty item property> + <#return item["./nav:atttribute[@name='${property}']"]> + + <#function hasImage item> <#return (item["./nav:attribute[@name='imageAttachments.image.id']"]?size > 0)>