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" />
6 <%if !post.sone.current>
8 <%ifnull !post.sone.trust.explicit><span class="trust"><% post.sone.trust.explicit></span><%/if>
9 <%ifnull !post.sone.trust.implicit><span class="score"><% post.sone.trust.implicit></span><%/if>
10 <%ifnull !post.sone.trust.distance><span class="rank"><% post.sone.trust.distance></span><%/if>
13 <div class="inner-part">
15 <div class="author profile-link"><a href="viewSone.html?sone=<% post.sone.id|html>"><% post.sone.niceName|html></a></div>
16 <%ifnull !post.recipient>
17 <span class="recipient-to">→</span>
18 <%ifnull post.recipient.identity>
19 <div class="recipient profile-link"><a href="viewSone.html?sone=<% post.recipient.id|html>"><%= View.Post.UnknownAuthor|l10n|html></a></div>
21 <div class="recipient profile-link"><a href="viewSone.html?sone=<% post.recipient.id|html>"><% post.recipient.niceName|html></a></div>
24 <div class="text"><% post.text></div>
26 <div class="post-status-line status-line">
27 <div class="time"><a href="viewPost.html?post=<% post.id|html>"><% post.time|date format="MMM d, yyyy, HH:mm:ss"></a></div>
28 <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>
29 <%ifnull ! currentSone>
30 <form class="like like-post<%if post.liked> hidden<%/if>" action="like.html" method="post">
31 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
32 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
33 <input type="hidden" name="type" value="post" />
34 <input type="hidden" name="post" value="<% post.id|html>" />
35 <button type="submit" value="1"><%= View.Post.LikeLink|l10n|html></button>
37 <form class="unlike unlike-post<%if ! post.liked> hidden<%/if>" action="unlike.html" method="post">
38 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
39 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
40 <input type="hidden" name="type" value="post" />
41 <input type="hidden" name="post" value="<% post.id|html>" />
42 <button type="submit" value="1"><%= View.Post.UnlikeLink|l10n|html></button>
45 <%if post.sone.current>
46 <form class="delete delete-post" action="deletePost.html" method="post">
47 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
48 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
49 <input type="hidden" name="post" value="<% post.id|html>" />
50 <button type="submit"><%= View.Post.DeleteLink|l10n|html></button>
55 <%foreach post.replies reply>
56 <%include include/viewReply.html>
58 <%ifnull ! currentSone>
59 <div class="create-reply">
60 <form method="post" action="createReply.html">
61 <input type="hidden" name="formPassword" value="<% formPassword|html>" />
62 <input type="hidden" name="returnPage" value="<% request.uri|html>" />
63 <input type="hidden" name="post" value="<% post.id|html>" />
64 <input type="text" class="reply-input" name="text" value="" />
65 <button type="submit"><%= View.Post.SendReply|l10n|html></button>