From 2a7b54d139c79c59669f1a274415dd90cfb09940 Mon Sep 17 00:00:00 2001 From: tworrall Date: Tue, 15 Oct 2013 16:03:32 -0400 Subject: [PATCH] VIVO-367 --- .../individual--foaf-person-2column.ftl | 2 +- .../individual/individual-positions.ftl | 2 +- .../individual/IndividualTemplateModel.java | 119 +++++++++++++----- .../templates/individual--foaf-person.ftl | 4 +- 4 files changed, 91 insertions(+), 36 deletions(-) diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl index 4831b5f4..f756c881 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person-2column.ftl @@ -56,7 +56,7 @@ <#if title?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <#if (title.statements?size < 1) > <@p.addLinkWithLabel title editable /> - <#else> + <#elseif editable>

${title.name?capitalize!}

<@p.verboseDisplay title /> diff --git a/productMods/templates/freemarker/body/partials/individual/individual-positions.ftl b/productMods/templates/freemarker/body/partials/individual/individual-positions.ftl index 76611713..4b5e5c85 100644 --- a/productMods/templates/freemarker/body/partials/individual/individual-positions.ftl +++ b/productMods/templates/freemarker/body/partials/individual/individual-positions.ftl @@ -5,7 +5,7 @@ <#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <#assign localName = positions.localName>

${positions.name?capitalize} <@p.addLink positions editable /> <@p.verboseDisplay positions />

-