Changeset 0f6176b


Ignore:
Timestamp:
Sep 16, 2015 5:26:03 PM (5 years ago)
Author:
zzz <zzz@…>
Branches:
master
Children:
1de840ce
Parents:
3d533a40
Message:

News: Add author to entry headers

File:
1 edited

Legend:

Unmodified
Added
Removed
  • apps/routerconsole/java/src/net/i2p/router/web/NewsFeedHelper.java

    r3d533a40 r0f6176b  
    7575                if (entry.link != null)
    7676                    buf.append("</a>");
     77                if (entry.authorName != null) {
     78                    buf.append(" <font size=\"-2\">(<i>")
     79                       .append(Messages.getString("by {0}", DataHelper.escapeHTML(entry.authorName), ctx))
     80                       .append("</i>)</font>\n");
     81                }
    7782                buf.append("</h3>\n<div class=\"newscontent\">\n")
    7883                   .append(entry.content)
Note: See TracChangeset for help on using the changeset viewer.