From ef4a628b1a75be860353a81e93b972070b2ddd64 Mon Sep 17 00:00:00 2001 From: tworrall Date: Thu, 21 Nov 2013 12:39:15 -0500 Subject: [PATCH] VIVO-560: hide skos:Concept specific properties from the subclass pages --- .../freemarker/body/individual/individual.ftl | 6 ++++++ .../individual/IndividualTemplateModel.java | 13 +++++++++++++ 2 files changed, 19 insertions(+) diff --git a/productMods/templates/freemarker/body/individual/individual.ftl b/productMods/templates/freemarker/body/individual/individual.ftl index 290c49a5..5914ca06 100644 --- a/productMods/templates/freemarker/body/individual/individual.ftl +++ b/productMods/templates/freemarker/body/individual/individual.ftl @@ -18,6 +18,12 @@ +<#if individual.conceptSubclass() > + <#assign overview = propertyGroups.pullProperty("http://www.w3.org/2004/02/skos/core#broader")!> + <#assign overview = propertyGroups.pullProperty("http://www.w3.org/2004/02/skos/core#narrower")!> + <#assign overview = propertyGroups.pullProperty("http://www.w3.org/2004/02/skos/core#related")!> + + <#include "individual-vitro.ftl">