html.append("<h2>");
html.append(bugInstance.getAbridgedMessage());
html.append("</h2><p/>");
final SortedBugCollection bc = _lastBugCollection;
if (bc != null) {
final Cloud cloud = bc.getCloud();
//noinspection ConstantConditions
if (cloud != null) {
final int reviewers = cloud.getReviewers(bugInstance).size();
if (reviewers > 0) {
html.append(" - <a href='#comments'><u>");
html.append(reviewers);
html.append(" comment");
html.append(reviewers != 1 ? "s" : "");
html.append("</u></a>");
}
final UserDesignation designation = cloud.getConsensusDesignation(bugInstance);
if (designation != UserDesignation.UNCLASSIFIED) {
//List<String> userDesignationKeys = I18N.instance().getUserDesignationKeys(true);
html.append(" - \"");
html.append(I18N.instance().getUserDesignation(designation.name()));
html.append('\"');
}
final int ageInDays = (int) ((System.currentTimeMillis() - cloud.getFirstSeen(bugInstance)) / (1000 * 60 * 60 * 24));
if (cloud.isInCloud(bugInstance) && ageInDays > 0) {
html.append(" - first seen ");
html.append(ageInDays);
html.append(" day");
html.append(ageInDays != 1 ? "s" : "");
html.append(" ago");