X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=3a720b6095ba39c3c4965c448fd3ff21868aec8c;hb=03916b6ff81fbe569d528060efb1787963858b45;hp=74dac806886cc49cffbbc9b086fa39da13388c16;hpb=768bbb738423c13854a195dc8dafe64bf4eeba6c;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 74dac80..3a720b6 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -3,25 +3,263 @@ <%if albumRequested> @@ -39,42 +277,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>

@@ -177,29 +377,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> @@ -209,49 +387,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>
@@ -276,6 +460,8 @@

<%image.title|html>