From a0bd5bb08403ab1f0faed3936841114e63e88f93 Mon Sep 17 00:00:00 2001 From: nac26 Date: Mon, 10 Jan 2011 21:44:23 +0000 Subject: [PATCH] Added specific template for organizations menupage so Chintan can add the Temporal Graph link and keep vivo-specific code out of the Vitro core --- productMods/WEB-INF/ontologies/app/menu.n3 | 1 + .../body/menupage/menupage--classgroup-organizations.ftl | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 productMods/templates/freemarker/body/menupage/menupage--classgroup-organizations.ftl diff --git a/productMods/WEB-INF/ontologies/app/menu.n3 b/productMods/WEB-INF/ontologies/app/menu.n3 index 068d2a47..dc084c04 100644 --- a/productMods/WEB-INF/ontologies/app/menu.n3 +++ b/productMods/WEB-INF/ontologies/app/menu.n3 @@ -69,6 +69,7 @@ display:Organizations a display:Page ; a display:ClassGroupPage; display:forClassGroup vivoweb:vitroClassGrouporganizations ; + display:requiresBodyTemplate "menupage--classgroup-organizations.ftl" ; display:title "Organizations" ; display:urlMapping "/organizations" . diff --git a/productMods/templates/freemarker/body/menupage/menupage--classgroup-organizations.ftl b/productMods/templates/freemarker/body/menupage/menupage--classgroup-organizations.ftl new file mode 100644 index 00000000..f8124f39 --- /dev/null +++ b/productMods/templates/freemarker/body/menupage/menupage--classgroup-organizations.ftl @@ -0,0 +1,7 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> +<#assign visualizationLink> + <#-- Chintan...place your markup for the visualization link here --> + Temporal Graph + + +<#include "menupage.ftl"> \ No newline at end of file