X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=b8b9cb204eb3b07a74b438ab205ccd2273f1d0bd;hp=c49c633959b546d432891adf7ce884bb583e5df9;hb=ffd92ca2374c0b2218e583d02e0bdd24b8c110ae;hpb=3a86d8894d306039e8d523763420350997fafa2e diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index c49c633..b8b9cb2 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -341,7 +341,7 @@ <%/foreach> -

<% album.description|parse sone=album.sone>

+

<% album.description|parse sone=album.sone|render>

<%if album.sone.local> @@ -353,17 +353,6 @@ - <%if ! album.images.empty> -
- - -
- <%/if>
@@ -387,7 +376,7 @@
<%/if> - <%foreach album.images image|paginate pageSize=core.preferences.imagesPerPage page=page> + <%foreach album.images image|paginate pageSize=preferences.imagesPerPage page=page> <%first>

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

<%include include/pagination.html pageParameter=="page"> @@ -400,7 +389,7 @@
<% image.title|html>
-
<% image.description|parse sone=image.sone>
+
<% image.description|parse sone=image.sone|render>
<%if album.sone.local>
@@ -512,7 +501,7 @@ <%/if> -

<%image.description|parse sone=image.sone>

+

<%image.description|parse sone=image.sone|render>

<%if image.sone.local> @@ -610,7 +599,7 @@ <%elseif galleryRequested> - <%foreach albums album|paginate pageSize=core.preferences.imagesPerPage pageParameter=request.page pagination=albumPagination> + <%foreach albums album|paginate pageSize=preferences.imagesPerPage pageParameter=request.page pagination=albumPagination> <%first>

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

<%include include/pagination.html pagination=albumPagination pageParameter=="page"> @@ -623,14 +612,14 @@ <%ifnull album.albumImage> <% album.title|html> (<%album.sone.niceName|html>) <%else> - <% album.randomImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title> + <% album.albumImage|image-link max-width==250 max-height==250 mode==enlarge title=album.title> <%/if>
<% album.title|html> (<%= View.Sone.Stats.Images|l10n 0=album.images.size>)
-
<% album.description|parse sone=album.sone>
+
<% album.description|parse sone=album.sone|render>
<%= false|store key==endRow>