Search in sources :

Example 1 with CourseRemindersController

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;
    }
}
Also used : CourseRemindersController(org.olat.course.reminder.ui.CourseRemindersController)

Example 2 with CourseRemindersController

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;
    }
}
Also used : CourseRemindersController(org.olat.course.reminder.ui.CourseRemindersController)

Aggregations

CourseRemindersController (org.olat.course.reminder.ui.CourseRemindersController)2