use of org.olat.course.reminder.ui.CourseRemindersController in project OpenOLAT by OpenOLAT.
the class CourseRuntimeController method doReminders.
private void doReminders(UserRequest ureq) {
if (delayedClose == Delayed.reminders || requestForClose(ureq)) {
if (reSecurity.isEntryAdmin() || hasCourseRight(CourseRights.RIGHT_COURSEEDITOR)) {
removeCustomCSS();
CourseRemindersController ctrl = new CourseRemindersController(ureq, getWindowControl(), getRepositoryEntry(), toolbarPanel);
remindersCtrl = pushController(ureq, translate("command.reminders"), ctrl);
setActiveTool(reminderLink);
currentToolCtr = remindersCtrl;
}
} else {
delayedClose = Delayed.reminders;
}
}
use of org.olat.course.reminder.ui.CourseRemindersController in project openolat by klemens.
the class CourseRuntimeController method doReminders.
private void doReminders(UserRequest ureq) {
if (delayedClose == Delayed.reminders || requestForClose(ureq)) {
if (reSecurity.isEntryAdmin() || hasCourseRight(CourseRights.RIGHT_COURSEEDITOR)) {
removeCustomCSS();
CourseRemindersController ctrl = new CourseRemindersController(ureq, getWindowControl(), getRepositoryEntry(), toolbarPanel);
remindersCtrl = pushController(ureq, translate("command.reminders"), ctrl);
setActiveTool(reminderLink);
currentToolCtr = remindersCtrl;
}
} else {
delayedClose = Delayed.reminders;
}
}
Aggregations