1 <a name="post-<% post.id|html>"></a>
2 <div id="<% post.id|html>" class="post<%if loop.last> last<%/if><%if post.new> new<%/if>">
3 <div class="post-time hidden"><% post.time|html></div>
5 <img src="/WoT/GetIdenticon?identity=<% post.sone.id|html>&width=48&height=48" width="48" height="48" alt="Avatar Image" />
7 <div class="inner-part">
9 <div class="author profile-link"><a href="viewSone.html?sone=<% post.sone.id|html>"><% post.sone.niceName|html></a></div>
10 <%ifnull !post.recipient>
11 <span class="recipient-to">→</span>
12 <%ifnull post.recipient.identity>
13 <div class="recipient profile-link"><a href="viewSone.html?sone=<% post.recipient.id|html>"><%= View.Post.UnknownAuthor|l10n|html></a></div>
15 <div class="recipient profile-link"><a href="viewSone.html?sone=<% post.recipient.id|html>"><% post.recipient.niceName|html></a></div>
18 <div class="text"><% post.text></div>
20 <div class="post-status-line status-line">
21 <div class="time"><a href="viewPost.html?post=<% post.id|html>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
22 <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>
23 <%ifnull ! currentSone>
24 <form class="like like-post<%if post.liked> hidden<%/if>" action="like.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="type" value="post" />
28 <input type="hidden" name="post" value="<% post.id|html>" />
29 <button type="submit" value="1"><%= View.Post.LikeLink|l10n|html></button>
31 <form class="unlike unlike-post<%if ! post.liked> hidden<%/if>" action="unlike.html" method="post">
32 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
33 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
34 <input type="hidden" name="type" value="post" />
35 <input type="hidden" name="post" value="<% post.id|html>" />
36 <button type="submit" value="1"><%= View.Post.UnlikeLink|l10n|html></button>
39 <%if post.sone.current>
40 <form class="delete delete-post" action="deletePost.html" method="post">
41 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
42 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
43 <input type="hidden" name="post" value="<% post.id|html>" />
44 <button type="submit"><%= View.Post.DeleteLink|l10n|html></button>
49 <%foreach post.replies reply>
50 <%include include/viewReply.html>
52 <%ifnull ! currentSone>
53 <div class="create-reply">
54 <form method="post" action="createReply.html">
55 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
56 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
57 <input type="hidden" name="post" value="<% post.id|html>" />
58 <input type="text" class="reply-input" name="text" value="" />
59 <button type="submit"><%= View.Post.SendReply|l10n|html></button>