private SafeHtml renderUnreadMessages(int unread, int total) {
SafeHtmlBuilder html = new SafeHtmlBuilder();
html.appendHtmlConstant("<span class='" + css.unreadCount() + "'>");
html.appendHtmlConstant(String.valueOf(unread));
html.appendHtmlConstant("</span>");
html.appendHtmlConstant(" " + messages.of(total));
return html.toSafeHtml();
}
private SafeHtml renderReadMessages(int total) {
SafeHtmlBuilder html = new SafeHtmlBuilder();