use of org.olat.user.HomePageDisplayController in project OpenOLAT by OpenOLAT.
the class VideoAdminListController method showUserInfo.
/**
* Method to open the users visiting card in a new tab. Public to call it also from the parent controller
* @param ureq
*/
public void showUserInfo(UserRequest ureq, Identity userID) {
homePageDisplayController = new HomePageDisplayController(ureq, getWindowControl(), userID, new HomePageConfig());
closeableModalController = new CloseableModalController(getWindowControl(), translate("close"), homePageDisplayController.getInitialComponent(), true, translate("video.contact"));
listenTo(closeableModalController);
closeableModalController.activate();
}
use of org.olat.user.HomePageDisplayController in project openolat by klemens.
the class VideoAdminErrorController method showUserInfo.
/**
* Method to open the users visiting card in a new tab. Public to call it also from the parent controller
* @param ureq
*/
public void showUserInfo(UserRequest ureq, Identity userID) {
homePageDisplayController = new HomePageDisplayController(ureq, getWindowControl(), userID, new HomePageConfig());
closeableModalController = new CloseableModalController(getWindowControl(), translate("close"), homePageDisplayController.getInitialComponent(), true, translate("video.contact"));
listenTo(closeableModalController);
closeableModalController.activate();
}
use of org.olat.user.HomePageDisplayController in project openolat by klemens.
the class VideoAdminListController method showUserInfo.
/**
* Method to open the users visiting card in a new tab. Public to call it also from the parent controller
* @param ureq
*/
public void showUserInfo(UserRequest ureq, Identity userID) {
homePageDisplayController = new HomePageDisplayController(ureq, getWindowControl(), userID, new HomePageConfig());
closeableModalController = new CloseableModalController(getWindowControl(), translate("close"), homePageDisplayController.getInitialComponent(), true, translate("video.contact"));
listenTo(closeableModalController);
closeableModalController.activate();
}
use of org.olat.user.HomePageDisplayController in project OpenOLAT by OpenOLAT.
the class VideoAdminErrorController method showUserInfo.
/**
* Method to open the users visiting card in a new tab. Public to call it also from the parent controller
* @param ureq
*/
public void showUserInfo(UserRequest ureq, Identity userID) {
homePageDisplayController = new HomePageDisplayController(ureq, getWindowControl(), userID, new HomePageConfig());
closeableModalController = new CloseableModalController(getWindowControl(), translate("close"), homePageDisplayController.getInitialComponent(), true, translate("video.contact"));
listenTo(closeableModalController);
closeableModalController.activate();
}
use of org.olat.user.HomePageDisplayController in project OpenOLAT by OpenOLAT.
the class PFCoachController method doOpenHomePage.
private void doOpenHomePage(UserRequest ureq, UserPropertiesRow row) {
Identity assessedIdentity = securityManager.loadIdentityByKey(row.getIdentityKey());
homePageDisplayController = new HomePageDisplayController(ureq, getWindowControl(), assessedIdentity, new HomePageConfig());
listenTo(homePageDisplayController);
cmc = new CloseableModalController(getWindowControl(), translate("close"), homePageDisplayController.getInitialComponent(), true, translate("upload.link"));
listenTo(cmc);
cmc.activate();
}
Aggregations