X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=8a5afbdd9137a5f179066dbaf36fb46fbcb5b686;hb=de7c3685704a313785e42e949b133ccdb373e63d;hp=3f2240599f23b540e15b83c7703ed828b69db95a;hpb=70d5f459347ce273eb0adfb5c8cc27b393ee98df;p=Sone.git
diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html
index 3f22405..8a5afbd 100644
--- a/src/main/resources/templates/knownSones.html
+++ b/src/main/resources/templates/knownSones.html
@@ -1,46 +1,35 @@
<%include include/head.html>
+
+
+
- <%foreach knownSones sone>
-
-
-
(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)
- <%ifnull ! currentSone>
- <%if ! sone.isCurrent>
- <%if sone.isFriend>
-
- <%else>
-
- <%/if>
- <%if sone.isBlocked>
-
- <%else>
-
- <%/if>
- <%/if>
- <%/if>
-
+ <%getpage parameter=page>
+ <%paginate list=knownSones pagesize=2>
+ <%= page|store key=pageParameter>
+ <%include include/pagination.html>
+ <%foreach pagination.items sone>
+ <%include include/viewSone.html>
<%foreachelse>
<%= Page.KnownSones.Text.NoKnownSones|l10n|html>
<%/foreach>
+ <%include include/pagination.html>
<%include include/tail.html>