aboutsummaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorBjoern Schiessle <bjoern@schiessle.org>2017-06-06 09:57:30 +0200
committerBjoern Schiessle <bjoern@schiessle.org>2017-06-06 09:58:52 +0200
commit28e1a9da6cd3bce3cc843727d54094db4969dd7b (patch)
tree4045ba2f95588bb2bed3338d16a0f23ff9b87f28 /settings/templates
parentc092b33466d16b6e2119973315b07546c9deb035 (diff)
downloadnextcloud-server-28e1a9da6cd3bce3cc843727d54094db4969dd7b.tar.gz
nextcloud-server-28e1a9da6cd3bce3cc843727d54094db4969dd7b.zip
allow admin to disable groups on personal page
Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
Diffstat (limited to 'settings/templates')
-rw-r--r--settings/templates/personal.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/personal.php b/settings/templates/personal.php
index 12f291bd807..a658ac34e84 100644
--- a/settings/templates/personal.php
+++ b/settings/templates/personal.php
@@ -239,6 +239,7 @@
</div>
</div>
+<?php if ($_['showGroupMembership'] === true): ?>
<div id="groups" class="section">
<h2><?php p($l->t('Groups')); ?></h2>
<p><?php p($l->t('You are member of the following groups:')); ?></p>
@@ -246,6 +247,7 @@
<?php p(implode(', ', $_['groups'])); ?>
</p>
</div>
+<?php endif; ?>
<?php
if($_['passwordChangeSupported']) {