1 <%include include/head.html>
3 <div class="page-id hidden">known-sones</div>
5 <script language="javascript">
7 $(document).ready(function() {
8 $("select[name=sort]").change(function() {
10 if (value == "activity") {
11 $("select[name=order]").val("desc");
12 } else if (value == "name") {
13 $("select[name=order]").val("asc");
20 <h1><%= Page.KnownSones.Page.Title|l10n|html></h1>
22 <div id="sort-options">
23 <form action="knownSones.html" method="get">
27 <option value="name"<%if sort|match value="name"> selected="selected"<%/if>>Name</option>
28 <option value="activity"<%if sort|match value="activity"> selected="selected"<%/if>>Last activity</option>
31 <option value="asc"<%if order|match value="asc"> selected="selected"<%/if>>Ascending</option>
32 <option value="desc"<%if order|match value="desc"> selected="selected"<%/if>>Descending</option>
35 <%ifnull !currentSone>
38 <select name="followedSones">
39 <option value="none"></option>
40 <option value="show-only"<%if followedSones|match value="show-only"> selected="selected"<%/if>>Show only followed Sones</option>
41 <option value="hide"<%if followedSones|match value="hide"> selected="selected"<%/if>>Hide followed Sones</option>
46 <button type="submit">Apply</button>
51 <div id="known-sones">
52 <%= page|store key=pageParameter>
53 <%include include/pagination.html>
54 <%foreach pagination.items sone>
55 <%include include/viewSone.html>
57 <div><%= Page.KnownSones.Text.NoKnownSones|l10n|html></div>
59 <%include include/pagination.html>
62 <%include include/tail.html>