diff --git a/productMods/WEB-INF/web.xml b/productMods/WEB-INF/web.xml index 87020299..985afa90 100644 --- a/productMods/WEB-INF/web.xml +++ b/productMods/WEB-INF/web.xml @@ -805,6 +805,15 @@ /manageGrants + + ManageLabelsForIndividualController + edu.cornell.mannlib.vitro.webapp.controller.freemarker.ManageLabelsForIndividualController + + + ManageLabelsForIndividualController + /manageLabels + + ManagePublicationsForIndividualController edu.cornell.mannlib.vitro.webapp.controller.freemarker.ManagePublicationsForIndividualController diff --git a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl index 15beb668..51cc3de1 100644 --- a/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl +++ b/productMods/templates/freemarker/body/individual/individual--foaf-person.ftl @@ -4,7 +4,9 @@ <#include "individual-setup.ftl"> <#import "individual-qrCodeGenerator.ftl" as qr> <#import "lib-vivo-properties.ftl" as vp> - +<#if !labelCount??> + <#assign labelCount = 0 > +
@@ -65,7 +67,7 @@ <#else>

<#-- Label --> - <@p.label individual editable /> + <@p.label individual editable labelCount/> <#-- Display preferredTitle if it exists; otherwise mostSpecificTypes --> <#assign title = propertyGroups.pullProperty("${core}preferredTitle")!>