From 308c05fe34c4820bada0e9051bb536ab0a42412e Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 26 Mar 2011 00:41:09 +0100 Subject: [PATCH] Show links to images like links to albums. --- src/main/resources/templates/imageBrowser.html | 28 +++++++++++++++++--------- 1 file changed, 19 insertions(+), 9 deletions(-) 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> -- 2.7.4