From: David ‘Bombe’ Roden Date: Sat, 1 Aug 2015 20:58:13 +0000 (+0200) Subject: Add optional parameter to hide moving buttons X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=0eb451ecab860c31aa5163ee1768fc600b276c80;p=Sone.git Add optional parameter to hide moving buttons --- 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>