X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=eebfdf3ceffe4d67fef09a533b31048acd94fa58;hb=5282f52469760323280c8af2520e5ce63f0a3baa;hp=260a32109892db22eeb3e0568710523bae2e6cde;hpb=0df5e91852f737d760c5a9f54c5667309fbadcc2;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index 260a321..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") || (value == "posts")) { + 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,29 +25,30 @@
- Sort: + <%= Page.KnownSones.Label.Sort|l10n|html>
<%ifnull !currentSone>
- Followed Sones: + <%= Page.KnownSones.Label.FollowedSones|l10n|html>
<%/if>
- +