From 2f6b4b0b17855b1d35f778a45456975b7fc5fdf0 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Wed, 21 Sep 2011 21:09:07 +0200 Subject: [PATCH] Move admin forms to their appropriate places. --- src/main/resources/templates/imageBrowser.html | 41 +++++++++++++++----------- 1 file changed, 23 insertions(+), 18 deletions(-) diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index a8f1e98..e9b3c06 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -69,6 +69,25 @@

<% album.description|html>

+ <%if album.sone.local> +

<%= Page.ImageBrowser.Album.Edit.Title|l10n|html>

+ +
+ + + +
+ + +
+
+ + +
+ +
+ <%/if> + <%foreach album.albums album> <%first>

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

<%/first> <%if loop.count|mod divisor=3>
<%/if> @@ -89,6 +108,10 @@ <%if endRow>
<%/if> <%/foreach> + <%if album.sone.local> + <%include include/createAlbum.html> + <%/if> + <%foreach album.images image> <%first>

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

<%/first> <%if loop.count|mod divisor=3>
<%/if> @@ -103,24 +126,6 @@ <%if album.sone.local> <%include include/uploadImage.html> - <%include include/createAlbum.html> - -

<%= Page.ImageBrowser.Album.Edit.Title|l10n|html>

- -
- - - -
- - -
-
- - -
- -
<%if album.empty>
-- 2.7.4