From: David ‘Bombe’ Roden Date: Sat, 1 Aug 2015 20:45:23 +0000 (+0200) Subject: Move album moving buttons to include file X-Git-Url: https://git.pterodactylus.net/?p=Sone.git;a=commitdiff_plain;h=0d68d165ed66e86fd57f09c8cfb744ccd64ed36a Move album moving buttons to include file --- 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>