X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2Finclude%2FbrowseAlbums.html;h=74bf71444830c1d78e80aeca569c3fe9d8ac6801;hb=4976669a17eb72bb7451edcf367c0956a40a8c2f;hp=7c8c4900ebcc1b7433480e7ed1ae6fa1b8b3bdd5;hpb=5777a17f983636923bc2231daec8d0383955d1f5;p=Sone.git diff --git a/src/main/resources/templates/include/browseAlbums.html b/src/main/resources/templates/include/browseAlbums.html index 7c8c490..74bf714 100644 --- a/src/main/resources/templates/include/browseAlbums.html +++ b/src/main/resources/templates/include/browseAlbums.html @@ -1,48 +1,7 @@ <%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|render>
-
- <%if album.sone.local> -
- - - - -
- - -
- - -
- <%/if> -
+ <%include include/viewAlbum.html> <%= false|store key==endRow> <%if loop.count|mod divisor==3 offset==1><%= true|store key==endRow><%/if> <%last><%= true|store key==endRow><%/last>