X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fmain%2Fresources%2Ftemplates%2FimageBrowser.html;h=53126a8730671cebd83c618aa19aacd110cf9f12;hb=77baeade882c7d936b7293a35303d824ae183994;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..53126a8 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> @@ -38,6 +65,7 @@ <%if album.sone.current> + <%include include/uploadImage.html> <%include include/createAlbum.html> <%/if> @@ -57,7 +85,15 @@ <%foreach sone.albums album>
-
<% album.name|html>
+
+ + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
<%/foreach>