Use different character for arrow.
[Sone.git] / src / main / resources / templates / include / viewReply.html
1 <a name="reply-<% reply.id|html>"></a>
2 <div id="<% reply.id|html>" class="reply<%if reply.new> new<%/if>">
3         <div class="reply-time hidden"><% reply.time|html></div>
4         <div class="avatar">
5                 <img src="/WoT/GetIdenticon?identity=<% reply.sone.id|html>&amp;width=36&height=36" width="36" height="36" alt="Avatar Image" />
6                 <%if !reply.sone.current>
7                         <br />
8                         <div class="trust">
9                                 <%if reply.sone.trust.assigned>
10                                         <span class="explicit"><% reply.sone.trust.explicit></span>
11                                 <%else>
12                                         <span class="implicit"><% reply.sone.trust.implicit></span>
13                                 <%/if>
14                         </div>
15                 <%/if>
16         </div>
17         <div class="inner-part">
18                 <div>
19                         <div class="author profile-link"><a href="viewSone.html?sone=<% reply.sone.id|html>"><% reply.sone.niceName|html></a></div>
20                         <div class="text"><% reply.text></div>
21                 </div>
22                 <div class="reply-status-line status-line">
23                         <div class="time"><% reply.time|date format="MMM d, yyyy, HH:mm:ss"></div>
24                         <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>
25                         <%ifnull ! currentSone>
26                                 <form class="like like-reply<%if reply.liked> hidden<%/if>" action="like.html" method="post">
27                                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
28                                         <input type="hidden" name="returnPage" value="<% request.uri|html>" />
29                                         <input type="hidden" name="type" value="reply" />
30                                         <input type="hidden" name="reply" value="<% reply.id|html>" />
31                                         <button type="submit" value="1"><%= View.Post.LikeLink|l10n|html></button>
32                                 </form>
33                                 <form class="unlike unlike-reply<%if ! reply.liked> hidden<%/if>" action="unlike.html" method="post">
34                                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
35                                         <input type="hidden" name="returnPage" value="<% request.uri|html>" />
36                                         <input type="hidden" name="type" value="reply" />
37                                         <input type="hidden" name="reply" value="<% reply.id|html>" />
38                                         <button type="submit" value="1"><%= View.Post.UnlikeLink|l10n|html></button>
39                                 </form>
40                         <%/if>
41                         <%if reply.sone.current>
42                                 <form class="delete delete-reply" 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>
47                                 </form>
48                         <%/if>
49                 </div>
50         </div>
51 </div>