}
@Override
protected String getHTML() {
String content = "<div class='claymus-h2'>Profile</div>";
User user = UserData.getUser();
content += "<div class='claymus-t2'>";
if(user.equals(UserData.getAnonymous())) {
content += user.getName() + " <span class='claymus-sub-text'>( <a href='" + UserData.getLoginURL() + "'>login</a> )</span>" + "<br/>";
content += user.getRole().getName();
} else {
content += user.getName() + " <span class='claymus-sub-text'>( <a href='" + UserData.getLogoutURL() + "'>logout</a> )</span>" + "<br/>";
content += user.getEmail() + "<br/>";
content += user.getRole().getName();
}
content += "</div>";
return content;
}