}
} else if (showOccupation instanceof InfoLessonInstanceAggregation) {
final InfoLessonInstanceAggregation aggregation = (InfoLessonInstanceAggregation) showOccupation;
final Shift shift = aggregation.getShift();
final ExecutionCourse executionCourse = shift.getExecutionCourse();
strBuffer.append(executionCourse.getSigla());
strBuffer.append(" (");
strBuffer.append("<a href='");
strBuffer.append(context).append("/resourceAllocationManager/")
.append("manageShift.do?method=prepareEditShift&page=0").append("&shift_oid=")
.append(shift.getExternalId()).append("&execution_course_oid=").append(executionCourse.getExternalId())
.append("&" + PresentationConstants.ACADEMIC_INTERVAL + "=")
.append(executionCourse.getAcademicInterval().getResumedRepresentationInStringFormat())
.append("&curricular_year_oid=").append(infoCurricularYear.getExternalId())
.append("&execution_degree_oid=").append(infoExecutionDegree.getExternalId()).append("'>")
.append(shift.getShiftTypesCodePrettyPrint()).append("</a>").append(") ");
final Space allocatableSpace = aggregation.getAllocatableSpace();
if (allocatableSpace != null) {
// strBuffer.append(" <a href='");
// strBuffer.append(context).append("/resourceAllocationManager/");