X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=eebfdf3ceffe4d67fef09a533b31048acd94fa58;hb=5282f52469760323280c8af2520e5ce63f0a3baa;hp=ab36861ab8490663bdca5f22e68a669b5aeb5aeb;hpb=6d802a2baa9d0763373aa98664683da2a59b0b5a;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index ab36861..eebfdf3 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -7,11 +7,11 @@ $(document).ready(function() { $("select[name=sort]").change(function() { value = $(this).val(); - if (value == "activity") { + if ((value == "activity") || (value == "posts") || (value == "images")) { $("select[name=order]").val("desc"); } else if (value == "name") { $("select[name=order]").val("asc"); - } + } }); $("#sort-options select").change(function() { this.form.submit(); @@ -25,32 +25,52 @@
- Sort: + <%= Page.KnownSones.Label.Sort|l10n|html>
<%ifnull !currentSone>
- Followed Sones: + <%= Page.KnownSones.Label.FollowedSones|l10n|html>
<%/if>
- +
+
+
+ + + + +
+
+ +
+
+ + + + +
+
+
<%= page|store key=pageParameter> <%include include/pagination.html>