diff --git a/productMods/templates/freemarker/visualization/publicationSparklineContent.ftl b/productMods/templates/freemarker/visualization/publicationSparklineContent.ftl index f5406915..a7c31ff8 100644 --- a/productMods/templates/freemarker/visualization/publicationSparklineContent.ftl +++ b/productMods/templates/freemarker/visualization/publicationSparklineContent.ftl @@ -2,239 +2,198 @@ <#assign visContainerID = '${sparklineVO.visContainerDivID}'> <#if sparklineVO.shortVisMode> - <#assign sparklineContainerID = 'pub_count_short_sparkline_vis'> + <#assign sparklineContainerID = 'pub_count_short_sparkline_vis'> <#else> - <#assign sparklineContainerID = 'pub_count_full_sparkline_vis'> + <#assign sparklineContainerID = 'pub_count_full_sparkline_vis'> #if> <#-- This is used to prevent collision between sparkline & visualization conatiner div ids. --> <#if visContainerID?upper_case == sparklineContainerID?upper_case> - <#assign sparklineContainerID = visContainerID + "_spark"> + <#assign sparklineContainerID = visContainerID + "_spark"> #if>
-
- Year - | -- Publications - | -
---|---|
- ${year} - | -- ${sparklineVO.yearToActivityCount[year]} - | -
'); + sparklineImgTD.attr('id', '${sparklineContainerID}_img'); + sparklineImgTD.attr('width', '65'); + sparklineImgTD.attr('align', 'right'); + sparklineImgTD.attr('class', 'sparkline_style'); + + row.append(sparklineImgTD); + + var sparklineNumberTD = $(' | '); + sparklineNumberTD.attr('width', '30'); + sparklineNumberTD.attr('align', 'right'); + sparklineNumberTD.attr('class', 'sparkline_number'); + row.append(sparklineNumberTD); + var sparklineTextTD = $(' | ');
+ sparklineTextTD.attr('width', '450');
+ sparklineTextTD.attr('class', 'sparkline_text');
+ row.append(sparklineTextTD);
+ table.append(row);
+ table.prependTo('#${sparklineContainerID}');
+
+ }
+
+ drawPubCountVisualization(sparklineImgTD);
+ });
+
+
+
+ <#if sparklineVO.shortVisMode>
+ <#---->
+ View all VIVO publications and corresponding co-author network. + <#----> + <#else> + ++
+ + #if> \ No newline at end of file diff --git a/themes/wilma/css/wilma.css b/themes/wilma/css/wilma.css index 91b06a5d..46dd78f6 100644 --- a/themes/wilma/css/wilma.css +++ b/themes/wilma/css/wilma.css @@ -97,7 +97,7 @@ ul#header-nav li { display: block; padding-left: 10px; padding-right: 10px; - border-right: 1px solid #fff; + border-right: 1px solid #7c7d7f; font-size: 0.7em; color: #fff; } |