Mark new replies.
[Sone.git] / src / main / resources / templates / include / viewPost.html
index 58b0786..ddb3dbd 100644 (file)
@@ -1,4 +1,4 @@
-<div id="<% post.id|html>" class="post<%if loop.last> last<%/if>">
+<div id="<% post.id|html>" class="post<%if loop.last> last<%/if><%if post.new> new<%/if>">
        <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>
@@ -37,7 +37,7 @@
                </div>
                <div class="replies">
                        <%foreach post.replies reply>
-                               <div id="<% reply.id|html>" class="reply">
+                               <div id="<% reply.id|html>" class="reply<%if reply.new> new<%/if>">
                                        <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>