DS-1200 add styling to statistics tables

This commit is contained in:
Sam Ottenhoff
2012-06-21 17:12:56 -04:00
parent 5ce2d16724
commit 381be0e5e7
2 changed files with 3 additions and 3 deletions

View File

@@ -415,7 +415,7 @@ public class StatisticsViewer extends AbstractDSpaceTransformer implements Cache
rows++;
}
Table block = currDiv.addTable("reportBlock", rows, 2);
Table block = currDiv.addTable("reportBlock", rows, 2, "detailtable");
// prepare the table headers
if (content.getStatName() != null || content.getResultName() != null)

View File

@@ -297,7 +297,7 @@ public class StatisticsTransformer extends AbstractDSpaceTransformer {
/** Generate Table */
Division wrapper = mainDiv.addDivision("tablewrapper");
Table table = wrapper.addTable("list-table", 1, 1,
title == null ? "" : "tableWithTitle");
title == null ? "detailtable" : "tableWithTitle detailtable");
if (title != null)
{
table.setHead(message(title));
@@ -353,7 +353,7 @@ public class StatisticsTransformer extends AbstractDSpaceTransformer {
// String[] rLabels = dataset.getRowLabels().toArray(new String[0]);
Table table = mainDiv.addTable("list-table", matrix.length, 2,
title == null ? "" : "tableWithTitle");
title == null ? "detailtable" : "tableWithTitle detailtable");
if (title != null)
{
table.setHead(message(title));