Show Sones that like a post or reply.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 4 Nov 2010 10:49:49 +0000 (11:49 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 4 Nov 2010 10:49:49 +0000 (11:49 +0100)
src/main/resources/templates/include/viewPost.html

index 8b4911d..8bd6bd7 100644 (file)
@@ -5,7 +5,7 @@
        </div>
        <div class="status-line">
                <div class="time"><a href="viewPost.html?post=<% post.id|html>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
-               <div class="likes<%if post.likes.size|match value=0> hidden<%/if>"><span>⬆<span class="like-count"><% post.likes.size></span></span></div>
+               <div class="likes<%if post.likes.size|match value=0> hidden<%/if>"><span title="<% post.likes.soneNames|html>">⬆<span class="like-count"><% post.likes.size></span></span></div>
                <%ifnull ! currentSone>
                        <form class="like<%if post.liked> hidden<%/if>" action="like.html" method="post">
                                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
@@ -40,7 +40,7 @@
                                </div>
                                <div class="status-line">
                                        <div class="time"><% reply.time|date format="MMM d, yyyy, HH:mm:ss"></div>
-                                       <div class="likes<%if reply.likes.size|match value=0> hidden<%/if>"><span>⬆<span class="like-count"><% reply.likes.size></span></span></div>
+                                       <div class="likes<%if reply.likes.size|match value=0> hidden<%/if>"><span title="<% reply.likes.soneNames|html>">⬆<span class="like-count"><% reply.likes.size></span></span></div>
                                        <%ifnull ! currentSone>
                                                <form class="like<%if reply.liked> hidden<%/if>" action="like.html" method="post">
                                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />