Add substring filter to all templates.
[Sone.git] / src / main / resources / templates / knownSones.html
1 <%include include/head.html>
2
3         <h1><%= Page.KnownSones.Page.Title|l10n|html></h1>
4
5         <div id="known-sones">
6                 <%foreach knownSones sone>
7                         <div>
8                                 <div class="profile-link"><a href="viewSone.html?sone=<% sone.id>"><% sone.niceName|html></a></div>
9                                 <div class="request-uri"><% sone.requestUri|html></div>
10                                 <%ifnull ! currentSone>
11                                         <%if sone.isBlocked>
12                                                 <form class="unblock" action="unblockSone.html" method="post">
13                                                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
14                                                         <input type="hidden" name="sone" value="<% sone.id>" />
15                                                         <button type="submit"><%= View.Sone.Button.UnblockSone|l10n|html></button>
16                                                 </form>
17                                         <%else>
18                                                 <form class="block" action="blockSone.html" method="post">
19                                                         <input type="hidden" name="formPassword" value="<% formPassword|html>" />
20                                                         <input type="hidden" name="sone" value="<% sone.id>" />
21                                                         <button type="submit"><%= View.Sone.Button.BlockSone|l10n|html></button>
22                                                 </form>
23                                         <%/if>
24                                 <%/if>
25                         </div>
26                 <%foreachelse>
27                         <div><%= Page.KnownSones.Text.NoKnownSones|l10n|html></div>
28                 <%/foreach>
29         </div>
30
31 <%include include/tail.html>