diff --git a/webapp/web/templates/freemarker/body/individual/individual-properties.ftl b/webapp/web/templates/freemarker/body/individual/individual-properties.ftl
index 0ad8b63ee..75cd5003f 100644
--- a/webapp/web/templates/freemarker/body/individual/individual-properties.ftl
+++ b/webapp/web/templates/freemarker/body/individual/individual-properties.ftl
@@ -5,31 +5,47 @@
<#assign propertyGroups = individual.propertyList>
<#list propertyGroups as group>
-
- <#-- Display the group heading -->
- <#-- If there are no groups, a dummy group has been created with a null name. -->
- <#if ! group.name??>
- <#-- Here you might just do nothing and proceed to list the properties as in the grouped case,
- or you might choose different markup for the groupless case. -->
- <#-- This is the group for properties not assigned to any group. It has an empty name. -->
- <#elseif group.name?length == 0>
-
other
+
+ <#-- Get the group name -->
+ <#if group.name??>
+ <#if group.name?has_content>
+ <#assign groupName = group.name>
+ <#else>
+ <#-- This is the group for properties not assigned to any group. It has an empty name. -->
+ <#assign groupName = "other">
+ #if>
<#else>
- ${group.name}
- #if>
+ <#-- If there are no groups, a dummy group has been created with a null name. -->
+ <#assign groupName = "">
+ #if>
- <#-- Now list the properties in the group -->
- <#list group.properties as property>
- ${property.name}
+
+
+ <#-- Display the group heading -->
+ <#if groupName?has_content>
+
${groupName}
+ #if>
- <#-- List the statements for each property -->
- <#list property.statements as statement>
- <#if statement.value??> <#-- data property -->
-
- ${statement.value}
-
- #if>
- #list>
- #list>
-
+ <#-- Now list the properties in the group -->
+
+ <#list group.properties as property>
+
+ <#-- Property display name -->
+
${property.name}
+
+ <#-- List the statements for each property -->
+ <#if property.type == "data"> <#-- data property -->
+ <#list property.statements as statement>
+
+ ${statement.value}
+
+ #list>
+
+ <#else> <#-- object property -->
+
+ #if>
+
+ #list>
+
+
#list>
\ No newline at end of file