diff options
author | Mario Vavti <mario@mariovavti.com> | 2015-11-17 10:46:38 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2015-11-17 10:46:38 +0100 |
commit | b531486dabfa66256b5809a6d7eac93a830be1f6 (patch) | |
tree | c3a5666325f0831cfd68ce978ff25af122052232 /view | |
parent | 6df98f080ba0c9a0309158c1ea5d48f95aae71ee (diff) | |
download | volse-hubzilla-b531486dabfa66256b5809a6d7eac93a830be1f6.tar.gz volse-hubzilla-b531486dabfa66256b5809a6d7eac93a830be1f6.tar.bz2 volse-hubzilla-b531486dabfa66256b5809a6d7eac93a830be1f6.zip |
show jotnets toggle button only if there are jotnets and whitespace fixes
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/acl_selector.tpl | 24 |
1 files changed, 10 insertions, 14 deletions
diff --git a/view/tpl/acl_selector.tpl b/view/tpl/acl_selector.tpl index a873457fe..013f3f296 100755 --- a/view/tpl/acl_selector.tpl +++ b/view/tpl/acl_selector.tpl @@ -8,11 +8,11 @@ <div class="modal-body"> {{if $jotnets}} <div class="jotnets-wrapper" role="tab" id="jotnets-wrapper"> - <a data-toggle="collapse" class="btn btn-block btn-default" href="#jotnets-collapse" aria-expanded="false" aria-controls="jotnets-collapse">{{$jnetModalTitle}} <span class="caret"></span></a> - </div> + <a data-toggle="collapse" class="btn btn-block btn-default" href="#jotnets-collapse" aria-expanded="false" aria-controls="jotnets-collapse">{{$jnetModalTitle}} <span class="caret"></span></a> + </div> <div id="jotnets-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="acl-select"> - {{$jotnets}} - <div class="clear"></div> + {{$jotnets}} + <div class="clear"></div> </div> {{/if}} @@ -41,14 +41,10 @@ </div><!-- /.modal --> <script> -//$(document).ready(function() { -// setTimeout( function () { - if(typeof acl=="undefined"){ - acl = new ACL( - baseurl+"/acl", - [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ] - ); - } -// }, 5000 ); -//}); + if(typeof acl=="undefined"){ + acl = new ACL( + baseurl+"/acl", + [ {{$allowcid}},{{$allowgid}},{{$denycid}},{{$denygid}} ] + ); + } </script> |