diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl index 2686b639..69e8fecc 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -29,35 +29,35 @@ <#-- Email --> - <#assign email = propertyGroups.getPropertyAndRemoveFromList("${core}email")!> - <#if email?has_content> - <#-- Show property label if we can add one - <#assign addUrl = email.addUrl> - <#if addUrl??> -

email.name

<@addLink > - --> - - + <#assign email = propertyGroups.getPropertyAndRemoveFromList("${core}email")!> + <#if email?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> + <@p.showLabelAndAddLink email showEditingLinks /> + <#if email.statements?has_content> <#-- if there are any statements --> + + <#-- Phone --> <#assign phone = propertyGroups.getPropertyAndRemoveFromList("${core}phoneNumber")!> - <#if phone?has_content> - + <#if phone?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> + <@p.showLabelAndAddLink phone showEditingLinks /> + <#if phone.statements?has_content> <#-- if there are any statements --> + + <#-- Links --> @@ -90,16 +90,19 @@ <#-- Positions --> <#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!> <#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> -

Positions

- +

Positions <@p.addLink positions showEditingLinks />

+ <#if positions.statements?has_content> <#-- if there are any statements --> + + <#-- Overview --> <#assign overview = propertyGroups.getPropertyAndRemoveFromList("${core}overview")!> <#if overview?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> + <@p.showLabelAndAddLink overview showEditingLinks /> <#list overview.statements as statement>

<@p.editingLinks statement showEditingLinks /> @@ -111,10 +114,13 @@ <#-- Research Areas --> <#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!> <#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> -

Research Areas

- + <#--

Research Areas <@p.addLink researchAreas showEditingLinks />

--> + <@p.showLabelAndAddLink researchAreas showEditingLinks /> + <#if researchAreas.statements?has_content> <#-- if there are any statements --> + +