Merge branch 'edit-wot-trust' into next
[Sone.git] / src / main / resources / templates / include / viewPost.html
index afb1728..a19ee73 100644 (file)
@@ -1,6 +1,7 @@
 <a name="post-<% post.id|html>"></a>
 <div id="<% post.id|html>" class="post<%if loop.last> last<%/if><%if post.new> new<%/if>">
        <div class="post-time hidden"><% post.time|html></div>
+       <div class="post-author hidden"><% post.sone.id|html></div>
        <div class="avatar">
                <img src="/WoT/GetIdenticon?identity=<% post.sone.id|html>&amp;width=48&height=48" width="48" height="48" alt="Avatar Image" />
        </div>
                                <form class="trust post-trust<%if post.sone.trust.assigned> hidden<%/if>" action="trust.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
-                                       <input type="hidden" name="identity" value="<% post.sone.id|html>" />
+                                       <input type="hidden" name="sone" value="<% post.sone.id|html>" />
                                        <button type="submit" title="<%= View.Trust.Tooltip.Trust|l10n|html>">✓</button>
                                </form>
                                <form class="distrust post-distrust" action="distrust.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
-                                       <input type="hidden" name="identity" value="<% post.sone.id|html>" />
+                                       <input type="hidden" name="sone" value="<% post.sone.id|html>" />
                                        <button type="submit" title="<%= View.Trust.Tooltip.Distrust|l10n|html>">✗</button>
                                </form>
                                <form class="untrust post-untrust<%if !post.sone.trust.assigned> hidden<%/if>" action="untrust.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />
-                                       <input type="hidden" name="identity" value="<% post.sone.id|html>" />
+                                       <input type="hidden" name="sone" value="<% post.sone.id|html>" />
                                        <button type="submit" title="<%= View.Trust.Tooltip.Untrust|l10n|html>">↶</button>
                                </form>
                        <%/if>
                        <%if post.sone.current>
+                               <span class='separator'>·</span>
                                <form class="delete delete-post" action="deletePost.html" method="post">
                                        <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                        <input type="hidden" name="returnPage" value="<% request.uri|html>" />