From bb8617ba4acb3d7a185e7dfb530fa88aead4c38f Mon Sep 17 00:00:00 2001 From: nac26 Date: Mon, 31 Jan 2011 05:27:19 +0000 Subject: [PATCH] NIHVIVO-1883 For collated object properties, don't print the

if we have no heading to render (individuals that are not asserted as any sub class) --- .../freemarker/body/partials/individual/lib-properties.ftl | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 adb5f31d8..90e3d9fff 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl @@ -25,7 +25,9 @@ <#assign subclasses = property.subclasses> <#list subclasses?keys as subclass>
  • -

    ${subclass?lower_case}

    + <#if subclass?has_content> +

    ${subclass?lower_case}

    +
      <@objectPropertyList property editable subclasses[subclass] template/>