diff --git a/productMods/templates/freemarker/visualization/copi/coInvestigation.ftl b/productMods/templates/freemarker/visualization/copi/coInvestigation.ftl new file mode 100644 index 00000000..54fbceca --- /dev/null +++ b/productMods/templates/freemarker/visualization/copi/coInvestigation.ftl @@ -0,0 +1,241 @@ +<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> + +<#assign visImageContextPath = "${urls.images}/visualization/" > +<#assign loadingImageLink = "${visImageContextPath}ajax-loader.gif"> + +<#assign egoVivoProfileURL = "${urls.base}/individual?uri=${egoURI}"> + +<#assign egoSparklineDataURL = '${urls.base}${dataVisualizationURLRoot}?vis=person_grant_count&uri=${egoURI}&labelField=label'> +<#assign coInvestigationDownloadFile = '${urls.base}${dataVisualizationURLRoot}?vis=person_level&uri=${egoURI}&labelField=label'> + +
+ + +<#-- + +Support for this has ended. Only created for the VIVO Conf Demo. + + + + + + +
+ + + <%-- Image --%> +
+ + <%-- Label --%> +

+ + <%-- Moniker--%> + + + +
+ + + + +
This information is based solely on grants which have been loaded into the VIVO system. + This may only be a small sample of the person's total work.
+ +

Co-Investigator Network + + + (GraphML File)

+
+ + + + + + + + Currently there are no ${investigatorsText} grants for + this investigator in the VIVO database. + +
+ + + + Currently there are no grants for + this investigator in the VIVO database. + + + +
+ + + + +
+ +
+ +
+ +
+ +
+
+
+ +
 
+ +
+
VIVO profile | Co-Investigator network
+
+
  Grant(s)
+
  Co-Investigator(s)
+ + + + +
+ +
+ +
+ + + + +
+ +

Table

+ + + +
+

+
+ +
+ +
+ +
+
+ +
+ + + +--> \ No newline at end of file diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountRequestHandler.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountRequestHandler.java index 7bdeaa60..976c2330 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountRequestHandler.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/coprincipalinvestigator/CoPIGrantCountRequestHandler.java @@ -97,17 +97,17 @@ public class CoPIGrantCountRequestHandler implements VisualizationRequestHandler if (pINodesAndEdges.getNodes() != null && pINodesAndEdges.getNodes().size() > 0) { - body.put("numOfAuthors", pINodesAndEdges.getNodes().size()); + body.put("numOfInvestigators", pINodesAndEdges.getNodes().size()); title = pINodesAndEdges.getEgoNode().getNodeName() + " - "; } if (pINodesAndEdges.getEdges() != null && pINodesAndEdges.getEdges().size() > 0) { - body.put("numOfCoPIs", pINodesAndEdges.getEdges().size()); + body.put("numOfCoInvestigations", pINodesAndEdges.getEdges().size()); } - String standaloneTemplate = "/visualization/coauthorship/coAuthorship.ftl"; + String standaloneTemplate = "/visualization/copi/coInvestigation.ftl"; body.put("portalBean", portal); body.put("egoURIParam", egoURI);