aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-14 23:38:00 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-14 23:38:00 +0100
commit614dcb8bce1de38b4ec0abf3299c975f244728f5 (patch)
tree870eafbd1f9a6c49b3b8f2c4f4dab89ff2358797
parent3ba81c8bb63e6bd99ea0ad3d6263bca10deb872c (diff)
downloadvolse-hubzilla-614dcb8bce1de38b4ec0abf3299c975f244728f5.tar.gz
volse-hubzilla-614dcb8bce1de38b4ec0abf3299c975f244728f5.tar.bz2
volse-hubzilla-614dcb8bce1de38b4ec0abf3299c975f244728f5.zip
since the perms will be reset on approval better do not provide the perms tool before we approved a connection
-rwxr-xr-xview/tpl/abook_edit.tpl2
1 files changed, 2 insertions, 0 deletions
diff --git a/view/tpl/abook_edit.tpl b/view/tpl/abook_edit.tpl
index 1ed3baafa..255ed9cfa 100755
--- a/view/tpl/abook_edit.tpl
+++ b/view/tpl/abook_edit.tpl
@@ -177,6 +177,7 @@
{{/if}}
+ {{if ! $is_pending}}
<div class="panel">
{{if $notself}}
<div class="section-subtitle-wrapper" role="tab" id="perms-tool">
@@ -222,6 +223,7 @@
</div>
</div>
</div>
+ {{/if}}
</div>
</form>
</div>