From 79699bd53b5b9cbc277dac5a6130ce6d640e5624 Mon Sep 17 00:00:00 2001 From: tworrall Date: Fri, 22 Nov 2013 12:48:43 -0500 Subject: [PATCH] for foaf:Persons display geo focus above the tabs --- .../individual/individual-geographicFocus.ftl | 14 ++++++++++++++ themes/wilma/templates/individual--foaf-person.ftl | 3 +++ 2 files changed, 17 insertions(+) create mode 100644 productMods/templates/freemarker/body/partials/individual/individual-geographicFocus.ftl diff --git a/productMods/templates/freemarker/body/partials/individual/individual-geographicFocus.ftl b/productMods/templates/freemarker/body/partials/individual/individual-geographicFocus.ftl new file mode 100644 index 00000000..cea382e6 --- /dev/null +++ b/productMods/templates/freemarker/body/partials/individual/individual-geographicFocus.ftl @@ -0,0 +1,14 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#-- List of research areas for the individual --> +<#assign geographicFoci = propertyGroups.pullProperty("${core}geographicFocus")!> +<#if geographicFoci?has_content> <#-- true when the property is in the list, even if not populated (when editing) --> + <#assign localName = geographicFoci.localName> +

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

+ + diff --git a/themes/wilma/templates/individual--foaf-person.ftl b/themes/wilma/templates/individual--foaf-person.ftl index e5ba0442..618b96bf 100644 --- a/themes/wilma/templates/individual--foaf-person.ftl +++ b/themes/wilma/templates/individual--foaf-person.ftl @@ -96,6 +96,9 @@ <#include "individual-researchAreas.ftl"> + + <#include "individual-geographicFocus.ftl"> + <#include "individual-openSocial.ftl">