Clean up separator mess.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 14:06:17 +0000 (15:06 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 16 Jan 2011 14:06:17 +0000 (15:06 +0100)
src/main/resources/templates/include/viewPost.html
src/main/resources/templates/include/viewReply.html

index 11e0b3e..6d96840 100644 (file)
                </div>
                <div class="post-status-line 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>
-                       <span class='separator'>·</span>
-                       <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>
+                       <div class="likes<%if post.likes.size|match value=0> hidden<%/if>">
+                               <span class='separator'>·</span>
+                               <span title="<% post.likes.soneNames|html>">↑<span class="like-count"><% post.likes.size></span></span>
+                       </div>
                        <%ifnull ! currentSone>
+                               <span class='separator'>·</span>
                                <form class="like like-post<%if post.liked> hidden<%/if>" action="like.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
index 2c52e11..2fbca43 100644 (file)
                </div>
                <div class="reply-status-line status-line">
                        <div class="time"><% reply.time|date format="MMM d, yyyy, HH:mm:ss"></div>
-                       <span class='separator'>·</span>
-                       <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>
+                       <div class="likes<%if reply.likes.size|match value=0> hidden<%/if>">
+                               <span class='separator'>·</span>
+                               <span title="<% reply.likes.soneNames|html>">↑<span class="like-count"><% reply.likes.size></span></span>
+                       </div>
                        <%ifnull ! currentSone>
+                               <span class='separator'>·</span>
                                <form class="like like-reply<%if reply.liked> hidden<%/if>" action="like.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />