aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_album.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2017-12-04 08:58:19 +0100
committerMario Vavti <mario@mariovavti.com>2017-12-04 08:58:19 +0100
commit657ec75c3da0deef3f388ffd016c9fbabb1d049c (patch)
tree9ac0a996ae0a00bbf545bbed880967338a80edb1 /view/tpl/photo_album.tpl
parenta79b268438b242eac02d75130d03fde88d6949cd (diff)
parent91e3c5c34e93004b9641d906c9f512b42f9c4a7a (diff)
downloadvolse-hubzilla-657ec75c3da0deef3f388ffd016c9fbabb1d049c.tar.gz
volse-hubzilla-657ec75c3da0deef3f388ffd016c9fbabb1d049c.tar.bz2
volse-hubzilla-657ec75c3da0deef3f388ffd016c9fbabb1d049c.zip
Merge remote-tracking branch 'mike/master' into dev
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rwxr-xr-xview/tpl/photo_album.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl
index 58b843bf0..678e790ac 100755
--- a/view/tpl/photo_album.tpl
+++ b/view/tpl/photo_album.tpl
@@ -9,7 +9,7 @@
<i class="fa fa-pencil btn btn-outline-secondary btn-sm" title="{{$album_edit.0}}" onclick="openClose('photo-album-edit-wrapper'); closeMenu('photo-upload-form');"></i>
{{/if}}
{{if $can_post}}
- <button class="btn btn-sm btn-success btn-sm" title="{{$usage}}" onclick="openClose('photo-upload-form'); closeMenu('photo-album-edit-wrapper');"><i class="fa fa-arrow-circle-o-up"></i>&nbsp;{{$upload.0}}</button>
+ <button class="btn btn-sm btn-success btn-sm" title="{{$usage}}" onclick="openClose('photo-upload-form'); {{if $album_edit.1}}closeMenu('photo-album-edit-wrapper');{{/if}}"><i class="fa fa-arrow-circle-o-up"></i>&nbsp;{{$upload.0}}</button>
{{/if}}
</div>
</div>