From: David ‘Bombe’ Roden Date: Fri, 25 Mar 2011 23:41:09 +0000 (+0100) Subject: Show links to images like links to albums. X-Git-Tag: beta-freefall-0.6.2-1~70 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=308c05fe34c4820bada0e9051bb536ab0a42412e;p=Sone.git Show links to images like links to albums. --- diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index 53126a8..bc1cb72 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -48,15 +48,25 @@ <%foreach album.albums album>
- + + <%ifnull album.image> + <% album.name|html> + <%else> + <% album.name|html> + <%/if> + +
+ <%/foreach> + + <%foreach album.images image> +
+ + <%ifnull image.key> + <% image.title|html> + <%else> + <% image.title|html> + <%/if> +
<%/foreach>