Remove blocking, blacklisting, and distribution of known Sones.
[Sone.git] / src / main / resources / templates / include / viewSone.html
index 2a0f59e..d4e5b67 100644 (file)
@@ -8,8 +8,9 @@
        <div class="last-update"><%= View.Sone.Label.LastUpdate|l10n|html> <span class="time"><% sone.time|date format="MMM d, yyyy, HH:mm:ss"></span></div>
        <div class="profile-link"><a href="viewSone.html?sone=<% sone.id|html>" title="<% sone.requestUri|html>"><% sone.niceName|html></a></div>
        <div class="short-request-uri"><% sone.requestUri|substring start=4 length=43|html></div>
-       <%ifnull ! currentSone>
-               <%if ! sone.current>
+       <div class="hidden"><% sone.blacklisted></div>
+       <%if ! sone.current>
+               <%ifnull ! currentSone>
                        <form class="unfollow<%if ! sone.friend> hidden<%/if>" action="unfollowSone.html" method="post">
                                <input type="hidden" name="formPassword" value="<% formPassword|html>" />
                                <input type="hidden" name="sone" value="<% sone.id|html>" />
                                <input type="hidden" name="returnPage" value="<% request.uri|html>" />
                                <button type="submit"><%= View.Sone.Button.FollowSone|l10n|html></button>
                        </form>
-                       <form class="unblock<%if ! sone.blocked> hidden<%/if>" action="unblockSone.html" method="post">
-                               <input type="hidden" name="formPassword" value="<% formPassword|html>" />
-                               <input type="hidden" name="sone" value="<% sone.id|html>" />
-                               <input type="hidden" name="returnPage" value="<% request.uri|html>" />
-                               <button type="submit"><%= View.Sone.Button.UnblockSone|l10n|html></button>
-                       </form>
-                       <form class="block<%if sone.blocked> hidden<%/if>" action="blockSone.html" method="post">
-                               <input type="hidden" name="formPassword" value="<% formPassword|html>" />
-                               <input type="hidden" name="sone" value="<% sone.id|html>" />
-                               <input type="hidden" name="returnPage" value="<% request.uri|html>" />
-                               <button type="submit"><%= View.Sone.Button.BlockSone|l10n|html></button>
-                       </form>
                <%/if>
        <%/if>
        <div class="spacer">&nbsp;</div>