1 <div id="<% post.id|html>" class="post <%if loop.last>last<%/if>">
3 <div class="author profile-link"><a href="viewSone.html?sone=<% post.sone.id|html>"><% post.sone.niceName|html></a></div>
4 <div class="text"><% post.text|html></div>
6 <div class="status-line">
7 <div class="time"><a href="viewPost.html?post=<% post.id|html>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
8 <div class="likes"><span>⬆<span class="like-count"><% post.likes.size></span></span></div>
9 <%ifnull ! currentSone>
10 <form class="like<%if post.liked> hidden<%/if>" action="likePost.html" method="post">
11 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
12 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
13 <input type="hidden" name="post" value="<% post.id|html>" />
14 <button type="submit" value="1"><%= View.Post.LikeLink|l10n|html></button>
16 <form class="unlike<%if ! post.liked> hidden<%/if>" action="unlikePost.html" method="post">
17 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
18 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
19 <input type="hidden" name="post" value="<% post.id|html>" />
20 <button type="submit" value="1"><%= View.Post.UnlikeLink|l10n|html></button>
23 <%if post.sone.current>
24 <form class="delete" action="deletePost.html" method="post">
25 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
26 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
27 <input type="hidden" name="post" value="<% post.id|html>" />
28 <button type="submit"><%= View.Post.DeleteLink|l10n|html></button>
33 <%foreach post.replies reply>
34 <div id="<% reply.id|html>" class="reply">
36 <div class="author profile-link"><a href="viewSone.html?sone=<% reply.sone.id|html>"><% reply.sone.niceName|html></a></div>
37 <div class="text"><% reply.text|html></div>
39 <div class="status-line">
40 <div class="time"><% reply.time|date format="MMM d, yyyy, HH:mm:ss"></div>
41 <%if reply.sone.current>
42 <form class="delete" action="deleteReply.html" method="post">
43 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
44 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
45 <input type="hidden" name="reply" value="<% reply.id|html>" />
46 <button type="submit"><%= View.Post.Reply.DeleteLink|l10n|html></button>
52 <div class="create-reply">
53 <form method="post" action="createReply.html">
54 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
55 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
56 <input type="hidden" name="post" value="<% post.id|html>" />
57 <input type="text" class="reply-input" name="text" value="" />
58 <button type="submit"><%= View.Post.SendReply|l10n|html></button>