X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=c2257bdcc10440f42fdf48f81a714d4276123188;hp=7c1667c1a6ea07d1ceb24e476de11be17c76a25c;hb=7090538cb031fe04afc37f19d12f3e641f953120;hpb=2fa9b1331a69d2f8fc09050515560fe1f3f41485 diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 7c1667c..c2257bd 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -1,5 +1,24 @@ <%include include/head.html> + + <%if albumRequested> @@ -29,7 +48,15 @@ <%foreach album.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
<%/foreach> @@ -57,7 +84,15 @@ <%foreach sone.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
<%/foreach>