From 8c1020bf3148e339876783ed3dcea53b6e604b6a Mon Sep 17 00:00:00 2001 From: rjy7 Date: Tue, 1 Feb 2011 21:27:06 +0000 Subject: [PATCH] NIHVIVO-1717 Suppress add link on vitro:primaryLink if there's already a primary link for the individual --- .../body/partials/individual/lib-properties.ftl | 11 ++++++++++- 1 file changed, 10 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 08d7ec087..dba394e93 100644 --- a/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl +++ b/webapp/web/templates/freemarker/body/partials/individual/lib-properties.ftl @@ -96,6 +96,10 @@ name will be used as the label. --> +<#macro propertyLabel property label="${property.name?capitalize}"> +

${label}

+ + <#macro propertyListItem property statement editable>
  • <#nested> @@ -142,11 +146,16 @@ name will be used as the label. --> <#if (primaryLink?has_content || additionalLinks?has_content)> <#-- true when the property is in the list, even if not populated (when editing) -->