From 06259898e5fa6d06a3a7183e79985180b3112891 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 24 Sep 2011 00:39:30 +0200 Subject: [PATCH] Fix album browser include. --- src/main/resources/templates/imageBrowser.html | 4 ++-- src/main/resources/templates/include/browseAlbums.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index d0badcd..d97fc25 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -358,7 +358,7 @@ <%/if> - <%include include/browseAlbums.html> + <%include include/browseAlbums.html albums=album.albums> <%if album.sone.local> @@ -553,7 +553,7 @@

<%= Page.ImageBrowser.Sone.Title|l10n|replace needle='{sone}' replacementKey=sone.niceName|html>

- <%include include/browseAlbums.html> + <%include include/browseAlbums.html albums=sone.albums> <%if sone.local> diff --git a/src/main/resources/templates/include/browseAlbums.html b/src/main/resources/templates/include/browseAlbums.html index 752dd6d..b77bcd1 100644 --- a/src/main/resources/templates/include/browseAlbums.html +++ b/src/main/resources/templates/include/browseAlbums.html @@ -1,4 +1,4 @@ -<%foreach album.albums album> +<%foreach albums album> <%first>

<%= Page.ImageBrowser.Header.Albums|l10n|html>

<%/first> <%if loop.count|mod divisor=3>
<%/if>
-- 2.7.4