mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +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++;
|
rows++;
|
||||||
}
|
}
|
||||||
|
|
||||||
Table block = currDiv.addTable("reportBlock", rows, 2);
|
Table block = currDiv.addTable("reportBlock", rows, 2, "detailtable");
|
||||||
|
|
||||||
// prepare the table headers
|
// prepare the table headers
|
||||||
if (content.getStatName() != null || content.getResultName() != null)
|
if (content.getStatName() != null || content.getResultName() != null)
|
||||||
|
@@ -297,7 +297,7 @@ public class StatisticsTransformer extends AbstractDSpaceTransformer {
|
|||||||
/** Generate Table */
|
/** Generate Table */
|
||||||
Division wrapper = mainDiv.addDivision("tablewrapper");
|
Division wrapper = mainDiv.addDivision("tablewrapper");
|
||||||
Table table = wrapper.addTable("list-table", 1, 1,
|
Table table = wrapper.addTable("list-table", 1, 1,
|
||||||
title == null ? "" : "tableWithTitle");
|
title == null ? "detailtable" : "tableWithTitle detailtable");
|
||||||
if (title != null)
|
if (title != null)
|
||||||
{
|
{
|
||||||
table.setHead(message(title));
|
table.setHead(message(title));
|
||||||
@@ -353,7 +353,7 @@ public class StatisticsTransformer extends AbstractDSpaceTransformer {
|
|||||||
// String[] rLabels = dataset.getRowLabels().toArray(new String[0]);
|
// String[] rLabels = dataset.getRowLabels().toArray(new String[0]);
|
||||||
|
|
||||||
Table table = mainDiv.addTable("list-table", matrix.length, 2,
|
Table table = mainDiv.addTable("list-table", matrix.length, 2,
|
||||||
title == null ? "" : "tableWithTitle");
|
title == null ? "detailtable" : "tableWithTitle detailtable");
|
||||||
if (title != null)
|
if (title != null)
|
||||||
{
|
{
|
||||||
table.setHead(message(title));
|
table.setHead(message(title));
|
||||||
|
Reference in New Issue
Block a user