1. Made style changes to the temporal graph vis per Katy's suggestions.
2. Refactored the temporal graph views (based on different comparison parameters). Now there is one basic template from which different parameter templates inherit. 3. Did code cleanup for the same. 4. Removed GUI related javascript into separate file & include it in the common basic template for temporal graph vis. 5. Reflected the changes in the servlets as well.
This commit is contained in:
parent
f394a2586f
commit
1f7962a454
12 changed files with 457 additions and 686 deletions
|
@ -51,7 +51,7 @@ public class EntityPublicationCountRequestHandler implements
|
|||
|
||||
return prepareStandaloneErrorResponse(vitroRequest,entityURI);
|
||||
|
||||
} else{
|
||||
} else {
|
||||
|
||||
QueryRunner<Map<String, Set<String>>> queryManagerForsubOrganisationTypes = new EntitySubOrganizationTypesQueryRunner(
|
||||
entityURI, dataSource, log);
|
||||
|
@ -141,7 +141,7 @@ public class EntityPublicationCountRequestHandler implements
|
|||
Entity entity, String entityURI, Map<String, Set<String>> subOrganizationTypesResult) {
|
||||
|
||||
Portal portal = vreq.getPortal();
|
||||
String standaloneTemplate = "entityComparisonStandaloneActivator.ftl";
|
||||
String standaloneTemplate = "entityComparisonOnPublicationsStandalone.ftl";
|
||||
|
||||
String jsonContent = "";
|
||||
jsonContent = writePublicationsOverTimeJSON(vreq, entity.getSubEntities(), subOrganizationTypesResult);
|
||||
|
|
|
@ -141,7 +141,7 @@ public class EntityGrantCountRequestHandler implements
|
|||
Entity entity, String entityURI, Map<String, Set<String>> subOrganizationTypesResult) {
|
||||
|
||||
Portal portal = vreq.getPortal();
|
||||
String standaloneTemplate = "entityComparisonGrantsStandaloneActivator.ftl";
|
||||
String standaloneTemplate = "entityComparisonOnGrantsStandalone.ftl";
|
||||
|
||||
String jsonContent = "";
|
||||
jsonContent = writeGrantsOverTimeJSON(vreq, entity.getSubEntities(), subOrganizationTypesResult);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue