news appearance tweaks

This commit is contained in:
zzz
2015-09-17 19:51:01 +00:00
parent 1de840ce59
commit d5a0d95c61
2 changed files with 9 additions and 4 deletions

View File

@ -66,8 +66,9 @@ public class NewsFeedHelper extends HelperBase {
buf.append("<div class=\"newsentry\"><h3>");
if (entry.updated > 0) {
Date date = new Date(entry.updated);
buf.append(fmt.format(date))
.append(": ");
buf.append("<font size=\"-1\">")
.append(fmt.format(date))
.append(":</font> ");
}
if (entry.link != null)
buf.append("<a href=\"").append(DataHelper.escapeHTML(entry.link)).append("\">");