diff options
author | friendica <info@friendica.com> | 2014-10-15 18:35:56 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-10-15 18:35:56 -0700 |
commit | ae9e1fa688c90e128637b5c44cf4705287f6cfa1 (patch) | |
tree | 7a91468e4f2948faa373471b018852a8b72e1545 /view | |
parent | e80c20d2584e17b43dd456bbb4b3dc0f8c11eeb4 (diff) | |
download | volse-hubzilla-ae9e1fa688c90e128637b5c44cf4705287f6cfa1.tar.gz volse-hubzilla-ae9e1fa688c90e128637b5c44cf4705287f6cfa1.tar.bz2 volse-hubzilla-ae9e1fa688c90e128637b5c44cf4705287f6cfa1.zip |
missing event permissions
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/event_form.tpl | 3 | ||||
-rwxr-xr-x | view/tpl/event_head.tpl | 4 |
2 files changed, 4 insertions, 3 deletions
diff --git a/view/tpl/event_form.tpl b/view/tpl/event_form.tpl index 2a580e3b8..d91e44458 100755 --- a/view/tpl/event_form.tpl +++ b/view/tpl/event_form.tpl @@ -66,7 +66,8 @@ <input type="checkbox" name="share" value="1" id="event-share-checkbox" {{$sh_checked}} /> <div id="event-share-text">{{$sh_text}}</div> <div id="event-share-break"></div> -{{$acl}} +<button id="event-permissions-button" class="btn btn-default btn-xs" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button> + {{$acl}} <div class="clear"></div> <input id="event-submit" type="submit" name="submit" value="{{$submit}}" /> diff --git a/view/tpl/event_head.tpl b/view/tpl/event_head.tpl index 8388187d1..6f1d2f22c 100755 --- a/view/tpl/event_head.tpl +++ b/view/tpl/event_head.tpl @@ -115,10 +115,10 @@ $('#event-share-checkbox').change(function() { if ($('#event-share-checkbox').is(':checked')) { - $('#acl-wrapper').show(); + $('#event-permissions-button').show(); } else { - $('#acl-wrapper').hide(); + $('#event-permissions-button').hide(); } }).trigger('change'); |