X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=b8b9cb204eb3b07a74b438ab205ccd2273f1d0bd;hb=09e10dd6e554ce4af6b35e0f56251c6c26bc018e;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..b8b9cb2 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -3,25 +3,263 @@
<%if albumRequested> @@ -39,79 +277,6 @@ <%if album.sone.local> <%/if> -<% album.description|html>
+<% album.description|parse sone=album.sone|render>
<%if album.sone.local> @@ -211,17 +353,6 @@ - <%if ! album.images.empty> -<%image.description|parse sone=image.sone>
+<%image.description|parse sone=image.sone|render>
<%if image.sone.local> @@ -437,7 +561,12 @@ }); $("#create-album label").hide(); + /* hide non-js move buttons. */ + $(".move-buttons").hide(); + hideAndShowBlock(".create-album", ".show-create-album", ".hide-create-album"); + + prepareAlbums(); }); <%/if> @@ -448,30 +577,15 @@ <%else> -