mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 10:04:21 +00:00
DS-1200 add styling to statistics tables
This commit is contained in:
@@ -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)
|
||||
|
@@ -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));
|
||||
|
Reference in New Issue
Block a user