aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/settings.tpl
diff options
context:
space:
mode:
authorredmatrix <git@macgirvin.com>2016-02-07 21:06:17 -0800
committerredmatrix <git@macgirvin.com>2016-02-07 21:06:17 -0800
commit00ae6bdac6062594d16870dbd9ca0593f534198e (patch)
treeb0bf506c954254c714e20de8892779b1c2178b01 /view/tpl/settings.tpl
parenta606173e07cfb1e9dda56d65e304f0ad53b934e6 (diff)
downloadvolse-hubzilla-00ae6bdac6062594d16870dbd9ca0593f534198e.tar.gz
volse-hubzilla-00ae6bdac6062594d16870dbd9ca0593f534198e.tar.bz2
volse-hubzilla-00ae6bdac6062594d16870dbd9ca0593f534198e.zip
a few tweaks to uno settings page to allow a default ACL to be created
Diffstat (limited to 'view/tpl/settings.tpl')
-rwxr-xr-xview/tpl/settings.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/settings.tpl b/view/tpl/settings.tpl
index af5f222fe..820ffd711 100755
--- a/view/tpl/settings.tpl
+++ b/view/tpl/settings.tpl
@@ -42,8 +42,12 @@
</div>
<div id="privacy-settings-collapse" class="panel-collapse collapse" role="tabpanel" aria-labelledby="privacy-settings">
<div class="section-content-tools-wrapper">
+ {{if $server_role != 'basic'}}
{{include file="field_select_grouped.tpl" field=$role}}
- <div id="advanced-perm" style="display:{{if $permissions_set}}none{{else}}block{{/if}};">
+ {{/if}}
+ <div id="advanced-perm" style="display:{{if $permissions_set && $server_role != 'basic' }}none{{else}}block{{/if}};">
+
+ {{if $server_role != 'basic'}}
<div class="form-group">
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#apsModal">{{$lbl_p2macro}}</button>
</div>
@@ -65,6 +69,7 @@
</div><!-- /.modal-content -->
</div><!-- /.modal-dialog -->
</div><!-- /.modal -->
+ {{/if}}
<div id="settings-default-perms" class="form-group" >
<button type="button" class="btn btn-default" data-toggle="modal" data-target="#aclModal"><i id="jot-perms-icon"></i>&nbsp;{{$permissions}}</button>
{{$aclselect}}