X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=c113748a9796b6af427019df8c9a97d0bf652110;hb=ffd92ca2374c0b2218e583d02e0bdd24b8c110ae;hp=b25b11c4ab194da3799ce538e456e354e4356353;hpb=00d11d64ca4247b81f54a806c14e7b9cfb961cf5;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index b25b11c..c113748 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -27,14 +27,14 @@
<%= Page.KnownSones.Label.Sort|l10n|html>
<%ifnull !currentSone> @@ -43,11 +43,13 @@ <%/if> @@ -57,33 +59,34 @@ -
-
- - - - -
-
+ <%if !pagination.items.empty> +
+
+ + + + +
+
-
-
- - - - -
-
+
+
+ + + + +
+
+ <%/if>
- <%= page|store key=pageParameter> - <%include include/pagination.html> + <%include include/pagination.html pageParameter==page> <%foreach pagination.items sone> <%include include/viewSone.html> <%foreachelse>
<%= Page.KnownSones.Text.NoKnownSones|l10n|html>
<%/foreach> - <%include include/pagination.html> + <%include include/pagination.html pageParameter==page>
<%include include/tail.html>