Introducing individual template for foaf:Organization individuals. Need annotation added to ontology so appropriate template is used.

This commit is contained in:
nac26 2011-02-01 00:09:40 +00:00
parent 51ce919b28
commit 8018955836
4 changed files with 18 additions and 12 deletions

View file

@ -0,0 +1,9 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Individual profile page template for foaf:Organization individuals (extends individual.ftl in vivo)-->
<#assign classSpecificExtension>
<#include "individual-visualizationTemporalGraph.ftl">
</#assign>
<#include "individual.ftl">

View file

@ -5,8 +5,8 @@
<#include "individual-setup.ftl">
<#assign individualProductExtension>
<#-- Remove include below when individual--foaf-organization.ftl is created -->
<#include "individual-visualization.ftl">
<#-- Include for any class specific template additions -->
${classSpecificExtension!}
<#include "individual-overview.ftl">
</section> <!-- #individual-info -->

View file

@ -1,10 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Individual visualization template -->
<#if individual.organization>
<#-- Logically we only need section#temporal-graph, but css may depend on the outer sections. Leaving here for UI team to check. -->
<section id="temporal-graph" role="region">
<h3><img src="${urls.images}/visualization/temporal_vis_icon.jpg" width="25px" height="25px" /><a href="${urls.base}/visualization?vis=entity_comparison&uri=${individual.uri}">Temporal Graph</a></h3>
</section>
</#if>

View file

@ -0,0 +1,7 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#-- Temporal graph visualization -->
<section id="temporal-graph" role="region">
<h3><img src="${urls.images}/visualization/temporal_vis_icon.jpg" width="25px" height="25px" /><a href="${urls.base}/visualization?vis=entity_comparison&uri=${individual.uri}">Temporal Graph</a></h3>
</section>