diff --git a/productMods/templates/freemarker/visualization/personPublicationCountDynamicActivator.ftl b/productMods/templates/freemarker/visualization/personPublicationCountDynamicActivator.ftl deleted file mode 100644 index 89999feb..00000000 --- a/productMods/templates/freemarker/visualization/personPublicationCountDynamicActivator.ftl +++ /dev/null @@ -1,5 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#if shouldVIVOrenderVis> - <#include "/visualization/personPublicationSparklineContent.ftl"> - diff --git a/productMods/templates/freemarker/visualization/personPublicationCountStandaloneActivator.ftl b/productMods/templates/freemarker/visualization/personPublicationCountStandaloneActivator.ftl deleted file mode 100644 index 3035ba93..00000000 --- a/productMods/templates/freemarker/visualization/personPublicationCountStandaloneActivator.ftl +++ /dev/null @@ -1,7 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#assign googleJSAPI = 'http://www.google.com/jsapi?autoload=%7B%22modules%22%3A%5B%7B%22name%22%3A%22visualization%22%2C%22version%22%3A%221%22%2C%22packages%22%3A%5B%22areachart%22%2C%22imagesparkline%22%5D%7D%5D%7D'> - -${headScripts.add(googleJSAPI)} - -<#include "/visualization/personPublicationSparklineContent.ftl"> \ No newline at end of file diff --git a/productMods/templates/freemarker/visualization/personPublicationSparklineContent.ftl b/productMods/templates/freemarker/visualization/personPublicationSparklineContent.ftl deleted file mode 100644 index 46e8da66..00000000 --- a/productMods/templates/freemarker/visualization/personPublicationSparklineContent.ftl +++ /dev/null @@ -1,199 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> -<#assign visContainerID = '${sparklineVO.visContainerDivID}'> - -<#if sparklineVO.shortVisMode> - <#assign sparklineContainerID = 'pub_count_short_sparkline_vis'> -<#else> - <#assign sparklineContainerID = 'pub_count_full_sparkline_vis'> - - -<#-- This is used to prevent collision between sparkline & visualization conatiner div ids. --> -<#if visContainerID?upper_case == sparklineContainerID?upper_case> - <#assign sparklineContainerID = visContainerID + "_spark"> - - -
-
- - -
- - <#if sparklineVO.shortVisMode> - <#----> -

View all VIVO publications and corresponding co-author network.

- <#--
--> - <#else> - -

- - - - - - - - - - - <#list sparklineVO.yearToActivityCount?keys as year> - - - - - - - -
- Publications per year (.CSV File) -
- Year - - Publications -
- ${year} - - ${sparklineVO.yearToActivityCount[year]} -
- Download data as .csv file. -
-

- -
\ No newline at end of file diff --git a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personpubcount/PersonPublicationCountRequestHandler.java b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personpubcount/PersonPublicationCountRequestHandler.java index a7222449..7eda263f 100644 --- a/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personpubcount/PersonPublicationCountRequestHandler.java +++ b/src/edu/cornell/mannlib/vitro/webapp/visualization/freemarker/personpubcount/PersonPublicationCountRequestHandler.java @@ -259,8 +259,7 @@ VisualizationRequestHandler { Portal portal = vreq.getPortal(); -// String standaloneTemplate = "/visualization/publication/personPublicationCountStandaloneActivator.ftl"; - String standaloneTemplate = "/visualization/personPublicationCountStandaloneActivator.ftl"; + String standaloneTemplate = "personPublicationCountStandaloneActivator.ftl"; Map body = new HashMap(); body.put("portalBean", portal); @@ -286,7 +285,7 @@ VisualizationRequestHandler { Portal portal = vreq.getPortal(); // String dynamicTemplate = "/visualization/publication/personPublicationCountDynamicActivator.ftl"; - String dynamicTemplate = "/visualization/personPublicationCountDynamicActivator.ftl"; + String dynamicTemplate = "personPublicationCountDynamicActivator.ftl"; Map body = new HashMap(); body.put("portalBean", portal);