From 0eb451ecab860c31aa5163ee1768fc600b276c80 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:58:13 +0200 Subject: [PATCH] Add optional parameter to hide moving buttons --- src/main/resources/templates/include/viewAlbum.html | 20 +++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/src/main/resources/templates/include/viewAlbum.html b/src/main/resources/templates/include/viewAlbum.html index bf9ea78..10e8368 100644 --- a/src/main/resources/templates/include/viewAlbum.html +++ b/src/main/resources/templates/include/viewAlbum.html @@ -13,15 +13,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 !hideMoveButtons> +
+ + + +
+ + +
+
+ <%/if> <%/if>
<% album.description|parse sone=album.sone|render>
-- 2.7.4