Store author information in posts and replies.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 3 Jan 2011 05:38:49 +0000 (06:38 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Mon, 3 Jan 2011 05:38:49 +0000 (06:38 +0100)
src/main/resources/templates/include/viewPost.html
src/main/resources/templates/include/viewReply.html

index b012d93..a19ee73 100644 (file)
@@ -1,6 +1,7 @@
 <a name="post-<% post.id|html>"></a>
 <div id="<% post.id|html>" class="post<%if loop.last> last<%/if><%if post.new> new<%/if>">
        <div class="post-time hidden"><% post.time|html></div>
+       <div class="post-author hidden"><% post.sone.id|html></div>
        <div class="avatar">
                <img src="/WoT/GetIdenticon?identity=<% post.sone.id|html>&amp;width=48&height=48" width="48" height="48" alt="Avatar Image" />
        </div>
index e2f4ab6..8c6884b 100644 (file)
@@ -1,6 +1,7 @@
 <a name="reply-<% reply.id|html>"></a>
 <div id="<% reply.id|html>" class="reply<%if reply.new> new<%/if>">
        <div class="reply-time hidden"><% reply.time|html></div>
+       <div class="reply-author hidden"><% reply.sone.id|html></div>
        <div class="avatar">
                <img src="/WoT/GetIdenticon?identity=<% reply.sone.id|html>&amp;width=36&height=36" width="36" height="36" alt="Avatar Image" />
        </div>