X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=c49cead808083eecf9df0f14de2dc104725960e6;hb=23f50fca8e95f5ea7b82aaf114b9c4ad3dcb83da;hp=a4fef7988bb8a86327b0e4abb4eea31f587ce886;hpb=eaee6b8f5e18c32388abd6aa33f1d940dc36471f;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index a4fef79..c49cead 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -3,25 +3,135 @@ <%if albumRequested> @@ -39,79 +149,6 @@ <%if album.sone.local> <%/if> -

<%= Page.ImageBrowser.Album.Title|l10n|replace needle='{album}' replacementKey=album.title|html>

+

<%= Page.ImageBrowser.Album.Title|l10n|replace needle=='{album}' replacement=album.title|html>

@@ -235,29 +249,7 @@ <%/if> - <%foreach album.albums album> - <%first>

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

<%/first> - <%if loop.count|mod divisor=3>
<%/if> -
- -
-
<% album.title|html>
-
<% album.description|html>
-
-
- <%= 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> + <%include include/browseAlbums.html albums=album.albums> <%if album.sone.local> @@ -267,49 +259,55 @@ <%/if> - <%foreach album.images image> - <%first>

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

<%/first> - <%if loop.count|mod divisor=3>
<%/if> -
- - -
-
<% image.title|html>
-
<% image.description|html>
-
- <%if album.sone.local> -
- - - - -
<%include include/pagination.html pageParameter=="page"><%/last> <%/foreach> <%if album.sone.local> - - + +
<%include include/uploadImage.html>
@@ -334,6 +332,8 @@

<%image.title|html>