X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FknownSones.html;h=33f0e276ecefeca1637bd0483db8d05da4e4b044;hb=9d50dcb65cec8d10306fbdb0d73826f33af2afb9;hp=096bc195fdcc72b5fbe83f55c5d7b1dd5ce64413;hpb=ec5fe20d0229696793047c8e01745dad9d08264e;p=Sone.git diff --git a/src/main/resources/templates/knownSones.html b/src/main/resources/templates/knownSones.html index 096bc19..33f0e27 100644 --- a/src/main/resources/templates/knownSones.html +++ b/src/main/resources/templates/knownSones.html @@ -1,44 +1,18 @@ <%include include/head.html> + +

<%= Page.KnownSones.Page.Title|l10n|html>

- <%foreach knownSones sone> -
- -
(<%= View.Sone.Label.LastUpdate|l10n|html> <% sone.time|date format="MMM d, yyyy, HH:mm:ss">)
- <%ifnull ! currentSone> - <%if sone.isFriend> -
- - - -
- <%else> - - <%/if> - <%if sone.isBlocked> -
- - - -
- <%else> -
- - - -
- <%/if> - <%/if> -
+ <%= 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>