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

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

<%/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>
<%/if> + <%/foreach> + <%/if> <%include include/tail.html>