diff options
author | redmatrix <git@macgirvin.com> | 2016-08-05 15:40:10 -0700 |
---|---|---|
committer | redmatrix <git@macgirvin.com> | 2016-08-05 15:40:10 -0700 |
commit | 9068ae68ad59249df92458626808673c96b174f1 (patch) | |
tree | f45d6c8adc857f1df3bf368d0118fc83607eb91c /view/tpl/photo_view.tpl | |
parent | eeabf514eab20523b847c38cf5befb7f040b7d72 (diff) | |
parent | 1bff63bd2e5d1423034094ee9bfc59c2ddb2bd53 (diff) | |
download | volse-hubzilla-9068ae68ad59249df92458626808673c96b174f1.tar.gz volse-hubzilla-9068ae68ad59249df92458626808673c96b174f1.tar.bz2 volse-hubzilla-9068ae68ad59249df92458626808673c96b174f1.zip |
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev_merge
Diffstat (limited to 'view/tpl/photo_view.tpl')
-rwxr-xr-x | view/tpl/photo_view.tpl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 76259a8be..ec827d990 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -23,7 +23,7 @@ {{/if}} {{if $edit}} <li class="nav-item"> - <a class="nav-link" href="#" title="" onclick="openClose('photo-edit'); return false;"><i class="fa fa-pencil"></i> {{$edit.edit}}</a> + <a class="nav-link acl-form-trigger" href="#" title="" onclick="openClose('photo-edit'); return false;" data-form_id="photo_edit_form"><i class="fa fa-pencil"></i> {{$edit.edit}}</a> </li> {{/if}} </ul> @@ -53,7 +53,7 @@ {{$map}} </div> <div id="photo-edit" class="section-content-tools-wrapper"> - <form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form"> + <form action="photos/{{$edit.nickname}}/{{$edit.resource_id}}" method="post" id="photo_edit_form" class="acl-form" data-form_id="photo_edit_form" data-allow_cid='{{$edit.allow_cid}}' data-allow_gid='{{$edit.allow_gid}}' data-deny_cid='{{$edit.deny_cid}}' data-deny_gid='{{$edit.deny_gid}}'> <input type="hidden" name="item_id" value="{{$edit.item_id}}" /> {{* album renaming is not supported atm. <div class="form-group"> @@ -88,8 +88,6 @@ </div> {{/if}} - {{$edit.aclselect}} - <div class="form-group pull-left"> <button class="btn btn-danger btn-sm" id="photo-edit-delete-button" type="submit" name="delete" value="{{$edit.delete}}" onclick="return confirmDelete();" />{{$edit.delete}}</button> </div> @@ -102,6 +100,7 @@ <button id="dbtn-submit" class="btn btn-primary btn-sm" type="submit" name="submit" >{{$edit.submit}}</button> </div> </form> + {{$edit.aclselect}} <div id="photo-edit-end" class="clear"></div> </div> <div id="photo-view-wrapper"> |