degreeName +=
" (" + BundleUtil.getString(Bundle.STUDENT, "label.grade.scale") + " - "
+ curricularCourse.getGradeScaleChain().getDescription() + ") ";
}
cellName.setBody(new HtmlText(degreeName));
// Year
final HtmlTableCell yearCell = htmlTableRow.createCell();
yearCell.setClasses(getRenderer().getCurricularCourseToEnrolYearClasses());
yearCell.setColspan(2);
yearCell.setBody(new HtmlText(degreeModuleToEvaluate.getYearFullLabel()));
if (!degreeModuleToEvaluate.isOptionalCurricularCourse()) {
// Ects
final HtmlTableCell ectsCell = htmlTableRow.createCell();
ectsCell.setClasses(getRenderer().getCurricularCourseToEnrolEctsClasses());
final StringBuilder ects = new StringBuilder();
ects.append(degreeModuleToEvaluate.getEctsCredits()).append(" ")
.append(BundleUtil.getString(Bundle.STUDENT, "label.credits.abbreviation"));
ectsCell.setBody(new HtmlText(ects.toString()));
HtmlTableCell checkBoxCell = htmlTableRow.createCell();
checkBoxCell.setClasses(getRenderer().getCurricularCourseToEnrolCheckBoxClasses());
HtmlCheckBox checkBox = new HtmlCheckBox(false);
checkBox.setName("degreeModuleToEnrolCheckBox" + degreeModuleToEvaluate.getKey());
checkBox.setUserValue(degreeModuleToEvaluate.getKey());
getDegreeModulesToEvaluateController().addCheckBox(checkBox);
checkBoxCell.setBody(checkBox);
} else {
final HtmlTableCell cell = htmlTableRow.createCell();
cell.setClasses(getRenderer().getCurricularCourseToEnrolEctsClasses());
cell.setBody(new HtmlText(""));
HtmlTableCell linkTableCell = htmlTableRow.createCell();
linkTableCell.setClasses(getRenderer().getCurricularCourseToEnrolCheckBoxClasses());
final HtmlActionLink actionLink = new HtmlActionLink();