NIHVIVO-1997 Removed pie charts and class group browse from menu pages due to current limitations of individual counts for classes. This should all be brought back from the dead in the future once we implement counts based on most specific type.

This commit is contained in:
nac26 2011-02-03 03:06:02 +00:00
parent c2e17ec638
commit 7a0a2655ed
7 changed files with 15 additions and 342 deletions

View file

@ -6,20 +6,6 @@
<section id="menupage-intro" role="region">
<h3>${page.title}</h3>
<section id="menupage-content" role="region">
<#-- This will allow us to keep menupage.ftl generic and keep vivo-specific extensions in VIVO -->
<#if visualizationLink??>
${visualizationLink}
</#if>
<h4>Visual Graph</h4>
<#include "menupage-vClassesInClassgroup.ftl">
<section id="menupage-graph" role="region">
<img src="${urls.images}/menupage/visual-graph-generic-class.jpg" width="500" height="283" alt ="" />
</section>
</section>
</section>
<#include "menupage-browse.ftl">

View file

@ -3,8 +3,6 @@
<#-- Template for browsing individuals in class groups for menupages -->
<section id="browse-by" role="region">
<h2>Browse by</h2>
<nav role="navigation">
<ul id="browse-classes">
<#list vClassGroup as vClass>

View file

@ -21,22 +21,13 @@ template variable with the domain name for an AJAX request with visualizations.
</#if>
</#list>
<#-- classGroupIndividualCount is assigned in menupage-vClassesInClassGroup.ftl -->
<script type="text/javascript">
var menupageData = {
baseUrl: '${domainName + urls.base}',
dataServiceUrl: '${domainName + urls.base}/dataservice?getLuceneIndividualsByVClass=1&vclassId=',
defaultBrowseVClassUri: '${firstNonEmptyVClass}'
};
var browseData = {
classGroupUri: '${classGroupUri!}',
classGroupIndividualCount: '${classGroupIndividualCount!}'
};
</script>
<#-- Script to enable browsing individuals within a class -->
${scripts.add("/js/jquery_plugins/jquery.scrollTo-min.js", "/js/menupage/browseByVClass.js")}
<#-- Scripts required to create the visual graphs -->
${scripts.add("/js/raphael/raphael.js", "/js/raphael/g.raphael.js", "/js/raphael/g.pie.js", "/js/browseClassGroupsPie.js")}
${scripts.add("/js/jquery_plugins/jquery.scrollTo-min.js", "/js/menupage/browseByVClass.js")}