X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=e1f4aea24a77f22750f7d8690a2b9de788d89b14;hb=7664f68b0010c691a8097231113d17d5281d8a96;hp=6b91960f4dc42381bf03b3fd892b0f718d53d393;hpb=d53b31b68dd0764585a9e110d3cae946bb189c80;p=Sone.git diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 6b91960..e1f4aea 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -1,5 +1,23 @@ <%include include/head.html> + + <%if albumRequested> @@ -29,7 +47,15 @@ <%foreach album.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
<%/foreach> @@ -57,7 +83,15 @@ <%foreach sone.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
<%/foreach>