this.showInfo("show.info.no.project.leader");
} else if (projectAt.getProjectLeaders().size() > 0) {
// Open visiting card in new popup
ControllerCreator ctrlCreator = new ControllerCreator() {
public Controller createController(UserRequest lureq, WindowControl lwControl) {
return new UserInfoMainController(lureq, lwControl, projectAt.getProjectLeaders().get(0));
}
};
// wrap the content controller into a full header layout
ControllerCreator layoutCtrlr = BaseFullWebappPopupLayoutFactory.createAuthMinimalPopupLayout(urequest, ctrlCreator);
this.openInNewBrowserWindow(urequest, layoutCtrlr);