From 2896821c4769da8663c1eddaf0e7aff989007fd8 Mon Sep 17 00:00:00 2001 From: tworrall Date: Mon, 11 Apr 2011 14:47:41 +0000 Subject: [PATCH] NIHVIVO-2160:improved tooltip for uri icon via javascript --- .../individual/individual--foaf-person.ftl | 25 ++++++------------- 1 file changed, 8 insertions(+), 17 deletions(-) diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl index 5eee6249..36c2d311 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -3,7 +3,6 @@ <#-- Individual profile page template for foaf:Person individuals --> <#include "individual-setup.ftl"> -<#include "individual-qrCodeFoafPerson.ftl">
@@ -25,8 +24,9 @@
${individualImage}
<#-- Email --> - <#assign email = propertyGroups.pullProperty("${core}email")!> + <#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.addLinkWithLabel email editable /> <#if email.statements?has_content> <#-- if there are any statements --> @@ -52,7 +52,7 @@ <#-- Phone --> - <#assign phone = propertyGroups.pullProperty("${core}phoneNumber")!> + <#assign phone = propertyGroups.getPropertyAndRemoveFromList("${core}phoneNumber")!> <#if phone?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <@p.addLinkWithLabel phone editable /> <#if phone.statements?has_content> <#-- if there are any statements --> @@ -69,17 +69,6 @@ <#-- Links --> <@p.vitroLinks propertyGroups namespaces editable "individual-urls-people" /> - - <#-- - <#if hasValidVCard()> -
- vCard QR What is this? - - <@qrCodeVCard qrCodeWidth="150" /> - -
- - -->
@@ -124,7 +113,7 @@ <#-- Positions --> - <#assign positions = propertyGroups.pullProperty("${core}personInPosition")!> + <#assign positions = propertyGroups.getPropertyAndRemoveFromList("${core}personInPosition")!> <#if positions?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <@p.objectPropertyListing positions editable /> @@ -134,7 +123,7 @@ <#include "individual-overview.ftl"> <#-- Research Areas --> - <#assign researchAreas = propertyGroups.pullProperty("${core}hasResearchArea")!> + <#assign researchAreas = propertyGroups.getPropertyAndRemoveFromList("${core}hasResearchArea")!> <#if researchAreas?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> <@p.objectPropertyListing researchAreas editable /> @@ -151,6 +140,7 @@ <#include "individual-properties.ftl"> ${stylesheets.add('', + '', '')} ${headScripts.add('', @@ -158,6 +148,7 @@ ${headScripts.add('', '', '', + '', '', '')}