-<div id="sone">
+<%include include/head.html>
<h1><%= Page.KnownSones.Page.Title|l10n|html></h1>
<div id="known-sones">
<%foreach knownSones sone>
- <div><a href="viewSone.html?sone=<% sone.id>"><% sone.niceName|html></a> (<% sone.requestUri|html>)</div>
+ <div>
+ <div class="profile-link"><a href="viewSone.html?sone=<% sone.id>"><% sone.niceName|html></a></div>
+ <div class="request-uri"><span title="<% sone.requestUri|html>"><% sone.requestUri|substring start=4 length=43|html>…</span></div>
+ <%ifnull ! currentSone>
+ <%if sone.isBlocked>
+ <form class="unblock" action="unblockSone.html" method="post">
+ <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+ <input type="hidden" name="sone" value="<% sone.id>" />
+ <button type="submit"><%= View.Sone.Button.UnblockSone|l10n|html></button>
+ </form>
+ <%else>
+ <form class="block" action="blockSone.html" method="post">
+ <input type="hidden" name="formPassword" value="<% formPassword|html>" />
+ <input type="hidden" name="sone" value="<% sone.id>" />
+ <button type="submit"><%= View.Sone.Button.BlockSone|l10n|html></button>
+ </form>
+ <%/if>
+ <%/if>
+ </div>
<%foreachelse>
<div><%= Page.KnownSones.Text.NoKnownSones|l10n|html></div>
<%/foreach>
</div>
-</div>
+<%include include/tail.html>