diff --git a/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl b/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl index 9a2009ce0..6b5a32ab1 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl @@ -85,9 +85,16 @@ name will be used as the label. --> <#macro addLinkWithLabel property editable label="${property.name?capitalize}" extraParams=""> <#local addLink><@addLink property editable label extraParams /> <#local verboseDisplay><@verboseDisplay property /> + <#-- Display the label when user is in edit mode, even if there's no add link (due to + displayLimitAnnot, for example). Otherwise the display looks odd, since neighboring + properties have labels. <#if addLink?has_content || verboseDisplay?has_content>

${label} ${addLink!} ${verboseDisplay!}

+ --> + <#if editable> +

${label} ${addLink!} ${verboseDisplay!}

+ <#macro addLink property editable label="${property.name}" extraParams="">