NIHVIVO-1688 Create an individual.ftl in vivo that makes references to the vivo ontology; make vitro individual.ftl ontology-neutral. Separate overview into separate template.

This commit is contained in:
rjy7 2011-01-13 22:25:36 +00:00
parent c326996f9a
commit 3ee875f738

View file

@ -37,18 +37,6 @@
</h1> </h1>
</#if> </#if>
</header> </header>
<#-- Overview -->
<#assign overview = propertyGroups.getPropertyAndRemoveFromList("${core}overview")!>
<#if overview?has_content> <#-- true when the property is in the list, even if not populated (when editing) -->
<@p.addLinkWithLabel overview editing />
<#list overview.statements as statement>
<p class="individual-overview">
${statement.value}
<@p.editingLinks statement editing />
</p>
</#list>
</#if>
<nav role="navigation"> <nav role="navigation">
<ul id ="individual-tools" role="list"> <ul id ="individual-tools" role="list">
@ -67,21 +55,6 @@
</section> </section>
</section> </section>
<section id="publications-visualization" role="region">
<section id="sparklines-publications" role="region">
<#include "individual-sparklineVisualization.ftl">
<#-- RY Will we have an individual--foaf-organization.ftl template? If so, move this there and remove from here.
Also remove the method IndividualTemplateModel.isOrganization(). -->
<#if individual.organization >
<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>
<#--<div>VISMODE: ${individual.moniker}</div>-->
</#if>
</section>
</section>
<#assign nameForOtherGroup = "other"> <#-- used by both individual-propertyGroupMenu.ftl and individual-properties.ftl --> <#assign nameForOtherGroup = "other"> <#-- used by both individual-propertyGroupMenu.ftl and individual-properties.ftl -->
<#-- Property group menu --> <#-- Property group menu -->