Mark with bold the special rows (capacity, total and extra) in the monthly timesheet

FEA: ItEr76S28UserDashboard
This commit is contained in:
Manuel Rego Casasnovas 2012-05-31 11:48:50 +02:00
parent c24897ae59
commit e2eaf34bbb

View file

@ -204,10 +204,12 @@ public class MonthlyTimesheetController extends GenericForwardComposer
appendTotalColumn(row);
}
private void appendLabelSpaningTwoColumns(Row row, String label) {
private void appendLabelSpaningTwoColumns(Row row, String text) {
Cell cell = new Cell();
cell.setColspan(2);
cell.appendChild(new Label(label));
Label label = new Label(text);
label.setStyle("font-weight: bold;");
cell.appendChild(label);
row.appendChild(cell);
}