View.Post.LikeLink=Like
View.Post.UnlikeLink=Unlike
+View.Trust.Label=Trust:
+View.Trust.IncreaseTrustLink=↑
+View.Trust.DecreaseTrustLink=↓
+
WebInterface.DefaultText.StatusUpdate=What’s on your mind?
WebInterface.DefaultText.Message=Write a Message…
WebInterface.DefaultText.Reply=Write a Reply…
color: #666;
}
-#sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike {
+#sone .post .delete, #sone .post .likes, #sone .post .like, #sone .post .unlike, #sone .post .increase-trust, #sone .post .decrease-trust {
display: inline;
font: inherit;
+ margin: 0px;
}
#sone .post .likes.hidden {
display: none;
}
-#sone .post .delete button, #sone .post .like button, #sone .post .unlike button {
+#sone .post .delete button, #sone .post .like button, #sone .post .unlike button, #sone .post .increase-trust button, #sone .post .decrease-trust button {
border: 0px;
background: none;
padding: 0px;
color: rgb(28, 131, 191);
font: inherit;
+ margin: 0px;
}
-#sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover {
+#sone .post .delete button:hover, #sone .post .like button:hover, #sone .post .unlike button:hover, #sone .post .increase-trust button:hover, #sone .post .decrease-trust button:hover {
border: 0px;
background: none;
padding: 0px;
color: green;
}
+#sone .post .trust {
+ display: inline;
+}
+
+#sone .post .trust:before {
+ content: ' · ';
+}
+
+#sone .trust .explicit, #sone .trust .implicit {
+ font: inherit;
+ display: inline;
+}
+
#sone .post .replies {
clear: both;
padding-top: 0.2ex;
<div class="post-time hidden"><% post.time|html></div>
<div class="avatar">
<img src="/WoT/GetIdenticon?identity=<% post.sone.id|html>&width=48&height=48" width="48" height="48" alt="Avatar Image" />
- <%if !post.sone.current>
- <br />
- <div class="trust">
- <%if post.sone.trust.assigned>
- <span class="explicit"><% post.sone.trust.explicit></span>
- <%else>
- <span class="implicit"><% post.sone.trust.implicit></span>
- <%/if>
- </div>
- <%/if>
</div>
<div class="inner-part">
<div>
<button type="submit" value="1"><%= View.Post.UnlikeLink|l10n|html></button>
</form>
<%/if>
+ <%if !post.sone.current>
+ <div class="trust">
+ <%= View.Trust.Label|l10n|html>
+ <%if post.sone.trust.assigned>
+ <div class="explicit"><% post.sone.trust.explicit></div>
+ <%else>
+ <div class="implicit"><% post.sone.trust.implicit><%if post.sone.trust.hasDistance> (<% post.sone.trust.distance>)<%/if></div>
+ <%/if>
+ <%if !post.sone.trust.maximum>
+ <form class="increase-trust increase-post-trust" action="increaseTrust.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>" />
+ <button type="submit"><%= View.Trust.IncreaseTrustLink|l10n|html></button>
+ </form>
+ <%/if>
+ <form class="decrease-trust decrease-post-trust" action="decreaseTrust.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>" />
+ <button type="submit"><%= View.Trust.DecreaseTrustLink|l10n|html></button>
+ </form>
+ </div>
+ <%/if>
<%if post.sone.current>
<form class="delete delete-post" action="deletePost.html" method="post">
<input type="hidden" name="formPassword" value="<% formPassword|html>" />
<div class="reply-time hidden"><% reply.time|html></div>
<div class="avatar">
<img src="/WoT/GetIdenticon?identity=<% reply.sone.id|html>&width=36&height=36" width="36" height="36" alt="Avatar Image" />
- <%if !reply.sone.current>
- <br />
- <div class="trust">
- <%if reply.sone.trust.assigned>
- <span class="explicit"><% reply.sone.trust.explicit></span>
- <%else>
- <span class="implicit"><% reply.sone.trust.implicit></span>
- <%/if>
- </div>
- <%/if>
</div>
<div class="inner-part">
<div>
<button type="submit" value="1"><%= View.Post.UnlikeLink|l10n|html></button>
</form>
<%/if>
+ <%if !reply.sone.current>
+ <div class="trust">
+ <%= View.Trust.Label|l10n|html>
+ <%if reply.sone.trust.assigned>
+ <div class="explicit"><% reply.sone.trust.explicit></div>
+ <%else>
+ <div class="implicit"><% reply.sone.trust.implicit><%if reply.sone.trust.hasDistance> (<% reply.sone.trust.distance>)<%/if></div>
+ <%/if>
+ <%if !reply.sone.trust.maximum>
+ <form class="increase-trust increase-reply-trust" action="increaseTrust.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="<% reply.sone.id|html>" />
+ <button type="submit"><%= View.Trust.IncreaseTrustLink|l10n|html></button>
+ </form>
+ <%/if>
+ <form class="decrease-trust decrease-reply-trust" action="decreaseTrust.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="<% reply.sone.id|html>" />
+ <button type="submit"><%= View.Trust.DecreaseTrustLink|l10n|html></button>
+ </form>
+ </div>
+ <%/if>
<%if reply.sone.current>
<form class="delete delete-reply" action="deleteReply.html" method="post">
<input type="hidden" name="formPassword" value="<% formPassword|html>" />