diff options
author | marijus <mario@mariovavti.com> | 2014-10-27 21:31:54 +0100 |
---|---|---|
committer | marijus <mario@mariovavti.com> | 2014-10-27 21:31:54 +0100 |
commit | d192bcad65852bb9225a368d1bf42b8918ae6022 (patch) | |
tree | ef0b6312c72e9e4505b30c0a64203ad82ef32e8f /view/tpl/photo_album.tpl | |
parent | 6ff795a9f2e66b1b65ffc5e509dc459be5cc96bd (diff) | |
download | volse-hubzilla-d192bcad65852bb9225a368d1bf42b8918ae6022.tar.gz volse-hubzilla-d192bcad65852bb9225a368d1bf42b8918ae6022.tar.bz2 volse-hubzilla-d192bcad65852bb9225a368d1bf42b8918ae6022.zip |
do not reload page for edit album and some minor cleanup
Diffstat (limited to 'view/tpl/photo_album.tpl')
-rwxr-xr-x | view/tpl/photo_album.tpl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/view/tpl/photo_album.tpl b/view/tpl/photo_album.tpl index 0c878b950..0a26fc367 100755 --- a/view/tpl/photo_album.tpl +++ b/view/tpl/photo_album.tpl @@ -1,7 +1,7 @@ <div class="section-title-wrapper"> <div class="btn-group btn-group-xs pull-right"> - {{if $edit}} - <a class="btn btn-default" href="{{$edit.1}}" title="{{$edit.0}}"><i class="icon-pencil"></i></a> + {{if $album_edit.1}} + <i class="icon-pencil btn btn-default" title="{{$album_edit.0}}" onclick="openClose('photo-album-edit-wrapper');"></i> {{/if}} <a class="btn btn-default" href="{{$order.1}}" title="{{$order.0}}"><i class="icon-sort"></i></a> {{if $can_post}} @@ -12,6 +12,7 @@ <div class="clear"></div> </div> +{{$album_edit.1}} <div id="photo-album-contents" class="generic-content-wrapper"> {{foreach $photos as $photo}} {{include file="photo_top.tpl"}} |