- <#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
- <#assign title = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Title")!>
- <#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 />
- <#elseif editable>
-
${title.name?capitalize!}
- <@p.verboseDisplay title />
- #if>
- <#list title.statements as statement>
- <#if !editable >
-
- #if>
-
-<#-- <#include "individual-property-group-tabs.ftl"> -->
-
-<#if profilePageTypesEnabled && (targetedView?has_content || user.loggedIn) >
-
-
-
-
-
-#if>
-<#if !editable>
-
-#if>
-
-<#assign rdfUrl = individual.rdfUrl>
-
-<#if rdfUrl??>
-
-#if>
-
-
-${stylesheets.add('',
- '',
- '',
- '',
- '')}
-
-${headScripts.add('',
- '',
- '',
- '')}
-
-${scripts.add('',
- '',
- '',
- '',
- '',
- '',
- '',
- '',
- '')}
-
-
diff --git a/webapp/src/main/webapp/templates/freemarker/elenphExcerpt.ftl b/webapp/src/main/webapp/templates/freemarker/elenphExcerpt.ftl
index 893cbea3..75e92069 100644
--- a/webapp/src/main/webapp/templates/freemarker/elenphExcerpt.ftl
+++ b/webapp/src/main/webapp/templates/freemarker/elenphExcerpt.ftl
@@ -1,42 +1,269 @@
-<#-- $This file is distributed under the terms of the license in LICENSE$ -->
-
-<#--
-
- This version of individual--foaf-person.ftl is a "router" template. The original VIVO
- version of this template now resides in the /themes/wilma/templates directory.
-
- This version of the template is used when the profile page types feature is enabled.
- This template serves to "rout" the user to the correct template based (1) the
- profile page type of the foaf person being displayed or (2) the targeted view that
- the user wants to see. For example, when a user is routed to a quick view template,
- the user has the option of displaying the full view. If the user chooses that option,
- the targetedView variable gets set.
-
- This template could also be used to load just the "individual--foaf-person-2column.ftl"
- without enabling profile page types. "individual--foaf-person-2column.ftl" is a slightly
- different design than the "individual--foaf-person.ftl" template in the themes/wilma
- directory.
-
- -->
-
<#include "individual-setup.ftl">
${scripts.add('')}
${scripts.add('')}
-<#assign selectedTemplate = "elenphExcerpt-internal.ftl" >
+<#-- Individual profile page template for foaf:Person individuals -->
-<#if profilePageTypesEnabled >
- <#assign profilePageType = profileType >
-
- <#-- targetedView takes precedence over the profilePageType. -->
-
- <#if targetedView?has_content>
- <#if targetedView != "standardView">
- <#assign selectedTemplate = "individual--foaf-person-quickview.ftl" >
- #if>
- <#elseif profilePageType == "quickView" >
- <#assign selectedTemplate = "individual--foaf-person-quickview.ftl" >
- #if>
+
+<#-- <#include "individual-setup.ftl"> -->
+<#import "individual-qrCodeGenerator.ftl" as qr>
+<#import "lib-vivo-properties.ftl" as vp>
+<#--Number of labels present-->
+<#if !labelCount??>
+ <#assign labelCount = 0 >
#if>
-<#include selectedTemplate >
+<#--Number of available locales-->
+<#if !localesCount??>
+ <#assign localesCount = 1>
+#if>
+<#--Number of distinct languages represented, with no language tag counting as a language, across labels-->
+<#if !languageCount??>
+ <#assign languageCount = 1>
+#if>
+<#assign qrCodeIcon = "qr-code-icon.png">
+<#assign visRequestingTemplate = "foaf-person-2column">
+<#--add the VIVO-ORCID interface -->
+<#include "individual-orcidInterface.ftl">
+
+
+ <#include "individual-adminPanel.ftl">
+
+ <#if relatedSubject??>
+
+ <#-- Display preferredTitle if it exists; otherwise mostSpecificTypes -->
+ <#assign title = propertyGroups.pullProperty("http://purl.obolibrary.org/obo/ARG_2000028","http://www.w3.org/2006/vcard/ns#Title")!>
+ <#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 />
+ <#elseif editable>
+
${title.name?capitalize!}
+ <@p.verboseDisplay title />
+ #if>
+ <#list title.statements as statement>
+ <#if !editable >
+