User user = userComment.getCreator().getUser();
TextComponent creator = TextFactory.createTextComponentFromI18nKey("creator", null, null, null, true, userCommentDisplayVC);
creator.setText(translate("comments.comment.creator", new String[]{user.getProperty(UserConstants.FIRSTNAME, null), user.getProperty(UserConstants.LASTNAME, null)}));
// Portrait
if (CoreSpringFactory.containsBean(UserAvatarDisplayControllerCreator.class.getName())) {
UserAvatarDisplayControllerCreator avatarControllerCreator = (UserAvatarDisplayControllerCreator) CoreSpringFactory.getBean(UserAvatarDisplayControllerCreator.class);
Controller avatarCtr = avatarControllerCreator.createController(ureq, getWindowControl(), userComment.getCreator(), false, true);
listenTo(avatarCtr);
this.userCommentDisplayVC.put("avatarCtr", avatarCtr.getInitialComponent());
}
// Delete link
if(securityCallback.canDeleteComment(userComment)) {