X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=c2257bdcc10440f42fdf48f81a714d4276123188;hp=6b91960f4dc42381bf03b3fd892b0f718d53d393;hb=7090538cb031fe04afc37f19d12f3e641f953120;hpb=d53b31b68dd0764585a9e110d3cae946bb189c80 diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 6b91960..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>