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");
16 $("#sort-options select").change(function() {
23 <h1><%= Page.KnownSones.Page.Title|l10n|html></h1>
25 <div id="sort-options">
26 <form action="knownSones.html" method="get">
30 <option value="name"<%if sort|match value="name"> selected="selected"<%/if>>Name</option>
31 <option value="activity"<%if sort|match value="activity"> selected="selected"<%/if>>Last activity</option>
34 <option value="asc"<%if order|match value="asc"> selected="selected"<%/if>>Ascending</option>
35 <option value="desc"<%if order|match value="desc"> selected="selected"<%/if>>Descending</option>
38 <%ifnull !currentSone>
41 <select name="followedSones">
42 <option value="none"></option>
43 <option value="show-only"<%if followedSones|match value="show-only"> selected="selected"<%/if>>Show only followed Sones</option>
44 <option value="hide"<%if followedSones|match value="hide"> selected="selected"<%/if>>Hide followed Sones</option>
49 <button type="submit">Apply</button>
54 <div id="known-sones">
55 <%= page|store key=pageParameter>
56 <%include include/pagination.html>
57 <%foreach pagination.items sone>
58 <%include include/viewSone.html>
60 <div><%= Page.KnownSones.Text.NoKnownSones|l10n|html></div>
62 <%include include/pagination.html>
65 <%include include/tail.html>