From 14d5dce59da87a9c439ab4500d3c24dcdeea623e Mon Sep 17 00:00:00 2001 From: Tim Worrall Date: Wed, 11 Feb 2015 16:49:04 -0500 Subject: [PATCH] No Jira issue. A minor change to the microformats so that the itemtype is applied based on educational process subclass. --- .../individual/propStatement-educationalTraining.ftl | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl index 3cf59637..b2a77f54 100644 --- a/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl +++ b/productMods/templates/freemarker/body/partials/individual/propStatement-educationalTraining.ftl @@ -26,7 +26,12 @@ <#local linkedIndividual> <#if statement.org??> - ${statement.orgName} + <#assign schemaType = "http://schema.org/Organization" /> + <#assign subclass = statement.subclass!"" /> + <#if subclass?contains("Educational") > + <#assign schemaType = "http://schema.org/CollegeOrUniversity" /> + + ${statement.orgName} <#elseif editable> <#-- Show the link to the context node only if the user is editing the page. --> ${i18n().missing_organization}