From: David ‘Bombe’ Roden Date: Tue, 22 Mar 2011 19:45:51 +0000 (+0100) Subject: Only include album creation form when browsing own albums. X-Git-Tag: beta-freefall-0.6.2-1~93 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=19f6172ad218a12f8b69c11778f286ed28c5cb53;p=Sone.git Only include album creation form when browsing own albums. --- diff --git a/src/main/resources/templates/imageBrowser.html b/src/main/resources/templates/imageBrowser.html index ca2014d..e9d1ad9 100644 --- a/src/main/resources/templates/imageBrowser.html +++ b/src/main/resources/templates/imageBrowser.html @@ -35,12 +35,14 @@ <%/foreach> - <%include include/createAlbum.html> -
<% album.description|html>
+ <%if album.sone.current> + <%include include/createAlbum.html> + <%/if> + <%/if> <%elseif imageRequested>