NIHVIVO-2048 removed menupage--classgroup-organizations.ftl and any accommodations made for it

This commit is contained in:
nac26 2011-02-05 17:45:33 +00:00
parent 237dbac197
commit 541ee8b4d2
3 changed files with 0 additions and 55 deletions

View file

@ -69,7 +69,6 @@ display:Organizations
a display:Page ;
a display:ClassGroupPage;
display:forClassGroup vivoweb:vitroClassGrouporganizations ;
display:requiresBodyTemplate "menupage--classgroup-organizations.ftl" ;
display:title "Organizations" ;
display:urlMapping "/organizations" .

View file

@ -1,42 +0,0 @@
/* $This file is distributed under the terms of the license in /doc/license.txt$ */
// NC: I've discussed this with Chintan and my hope is to have the temporal graph vis
// load the top level org by default (when the uri parameter is not included), therefore
// rendering this entire file unnecessary and obsolete.
var visualizationLink = {
// Initial page setup
onLoad: function() {
this.mergeFromTemplate();
this.initObjects();
},
// Add variables from menupage template
mergeFromTemplate: function() {
$.extend(this, menupageData);
},
// Create references to frequently used elements for convenience
initObjects: function() {
this.visLink = $('.visualization-menupage-link');
},
// Determine the URL parameters for temporal graph of top level org
getURL: function() {
$.ajax({
url: this.baseUrl + "/visualizationAjax",
data: ({vis: "utilities", vis_mode: "HIGHEST_LEVEL_ORGANIZATION"}),
dataType: "text",
success:function(data){
if (data != null && data != "") {
visualizationLink.visLink.attr("href", data);
visualizationLink.visLink.removeClass('hidden');
}
}
});
}
};
$(document).ready(function() {
visualizationLink.onLoad();
visualizationLink.getURL();
});

View file

@ -1,12 +0,0 @@
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<#assign visualizationLink>
<a class="visualization-menupage-link temporal-graph" href="${urls.base}/visualization?vis=entity_comparison" title="Compare publications and grants output">Temporal Graph</a>
</#assign>
<#include "menupage.ftl">
${stylesheets.add("/css/visualization/visualization.css")}
<#--
${scripts.add("/js/menupage/visualizationLink.js")}
-->