X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=2d94de0bc67d9ff0f19e3754299e9c7c18ec22f7;hp=66eb33d052135ca49eefce56265549cac7273c14;hb=6f87b531e0bf13a96f4b596a36a098e9b8d3878a;hpb=6fb5846e38f0d68f2870f9a4222685f9219da3ba diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 66eb33d..2d94de0 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -573,7 +573,7 @@ <%include include/browseAlbums.html albums=sone.albums> @@ -588,6 +588,40 @@ <%/if> + <%elseif galleryRequested> + + <%foreach albums album> + <%first> +

<%= Page.ImageBrowser.Header.Albums|l10n|html>

+ <%include include/pagination.html pagination=albumPagination pageParameter=="page"> + <%/first> + <%if loop.count|mod divisor=3>
<%/if> +
+ + +
+ +
<% album.title|html> (<%= View.Sone.Stats.Images|l10n 0=album.images.size>)
+
<% album.description|parse sone=album.sone>
+
+
+ <%= false|store key=endRow> + <%if loop.count|mod divisor=3 offset=1><%= true|store key=endRow><%/if> + <%last><%= true|store key=endRow><%/last> + <%if endRow> +
+ <%include include/pagination.html pagination=albumPagination pageParameter=="page"> + <%/if> + <%/foreach> + <%/if> <%include include/tail.html>