Hide album move buttons when included from a post
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 7 Oct 2015 04:56:55 +0000 (06:56 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Wed, 7 Oct 2015 04:56:55 +0000 (06:56 +0200)
src/main/resources/templates/include/viewPost.html

index 5ce2d28..7712339 100644 (file)
@@ -40,7 +40,7 @@
                        <%if part.class.simpleName|match value==AlbumPart><!-- ← this is so ugly. -->
                                <% part.album.images.random|store key==image>
                                <div class="album images">
-                                       <%include include/viewAlbum.html album=part.album>
+                                       <%include include/viewAlbum.html album=part.album hideMoveButtons==true>
                                </div>
                        <%/if>
                <%/foreach>