}
private HtmlComponent getCurrentOrFutureCoursePresentation(CompetenceCourse course, CompetenceCourseGroupUnit group,
DepartmentUnit department) {
HtmlInlineContainer container = new HtmlInlineContainer();
container.addChild(new HtmlText(course.getName()));
container.addChild(new HtmlText(" ("));
container.addChild(new HtmlText(course.getAcronym()));
container.addChild(new HtmlText(") "));
container.addChild(getStage(course.getCurricularStage()));
if (course.getCompetenceCourseGroupUnit() != group) {
container.addChild(new HtmlText(" ("));
container.addChild(getFutureTransferMessage(course));
container.addChild(new HtmlText(") "));
} else if (course.getDepartmentUnit(ExecutionSemester.readLastExecutionSemester()) != department) {
container.addChild(new HtmlText(" ("));
container.addChild(getFutureDepartmentMessage(course));
container.addChild(new HtmlText(") "));
} else if (course.getCompetenceCourseGroupUnit(ExecutionSemester.readLastExecutionSemester()) != group) {
container.addChild(new HtmlText(" ("));
container.addChild(getFutureGroupMessage(course));
container.addChild(new HtmlText(") "));
}
container.setIndented(false);
return container;
}