1. Changed language for when an organization does not have any data to be used for temporal graph vis. (see http://issues.library.cornell.edu/browse/NIHVIVO-2060)
This commit is contained in:
parent
a254173f9c
commit
43269929a6
6 changed files with 28 additions and 54 deletions
|
@ -274,14 +274,12 @@ public class EntityPublicationCountRequestHandler implements
|
|||
VitroRequest vitroRequest, String entityURI) {
|
||||
|
||||
Portal portal = vitroRequest.getPortal();
|
||||
String visualization = "ENTITY_PUB_COUNT";
|
||||
String standaloneTemplate = "entityComparisonErrorActivator.ftl";
|
||||
String standaloneTemplate = "entityPublicationComparisonError.ftl";
|
||||
|
||||
Map<String, Object> body = new HashMap<String, Object>();
|
||||
body.put("portalBean", portal);
|
||||
body.put("title", "Temporal Graph Visualization");
|
||||
body.put("organizationURI", entityURI);
|
||||
body.put("visualization", visualization);
|
||||
|
||||
return new TemplateResponseValues(standaloneTemplate, body);
|
||||
|
||||
|
|
|
@ -163,17 +163,14 @@ public class EntityGrantCountRequestHandler implements
|
|||
VitroRequest vitroRequest, String entityURI) {
|
||||
|
||||
Portal portal = vitroRequest.getPortal();
|
||||
String visualization = "ENTITY_GRANT_COUNT";
|
||||
String standaloneTemplate = "entityComparisonErrorActivator.ftl";
|
||||
String standaloneTemplate = "entityGrantComparisonError.ftl";
|
||||
|
||||
Map<String, Object> body = new HashMap<String, Object>();
|
||||
body.put("portalBean", portal);
|
||||
body.put("title", "Temporal Graph Visualization");
|
||||
body.put("organizationURI", entityURI);
|
||||
body.put("visualization", visualization);
|
||||
|
||||
return new TemplateResponseValues(standaloneTemplate, body);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue