From 0d68d165ed66e86fd57f09c8cfb744ccd64ed36a Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Sat, 1 Aug 2015 22:45:23 +0200 Subject: [PATCH] Move album moving buttons to include file --- .../resources/templates/include/browseAlbums.html | 27 ---------------------- .../resources/templates/include/viewAlbum.html | 11 +++++++++ 2 files changed, 11 insertions(+), 27 deletions(-) diff --git a/src/main/resources/templates/include/browseAlbums.html b/src/main/resources/templates/include/browseAlbums.html index 10de318..61eb665 100644 --- a/src/main/resources/templates/include/browseAlbums.html +++ b/src/main/resources/templates/include/browseAlbums.html @@ -17,31 +17,4 @@ <%include include/pagination.html pageParameter=="albumPage"> <%/last> - - <%if album.sone.local> -
- - - - -
- - -
- - -
- <%/if> <%/foreach> diff --git a/src/main/resources/templates/include/viewAlbum.html b/src/main/resources/templates/include/viewAlbum.html index fb2d7f0..bf9ea78 100644 --- a/src/main/resources/templates/include/viewAlbum.html +++ b/src/main/resources/templates/include/viewAlbum.html @@ -12,6 +12,17 @@
<% album.title|html>
<% =View.Album.SizeAndAuthor|l10n 0=album.sone.niceName 1=album.images.size|html|replace needle=="[link]" replacement==''|replace needle=='[/link]' replacement==''|replace needle=='' replacement=album.sone.id>
+ <%if album.sone.local> +
+ + + +
+ + +
+
+ <%/if>
<% album.description|parse sone=album.sone|render>
-- 2.7.4