summaryrefslogtreecommitdiffstats
path: root/settings/templates
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-06-06 11:30:08 -0500
committerGitHub <noreply@github.com>2017-06-06 11:30:08 -0500
commit72235064fb354f5ab9d07075170a164afc5be6fb (patch)
tree901a8cedef601a8acadc9baae7e651a9487a24b1 /settings/templates
parent4a3e118adde6968efe43bf3b0a32698e286964ae (diff)
parent28e1a9da6cd3bce3cc843727d54094db4969dd7b (diff)
downloadnextcloud-server-72235064fb354f5ab9d07075170a164afc5be6fb.tar.gz
nextcloud-server-72235064fb354f5ab9d07075170a164afc5be6fb.zip
Merge pull request #5259 from nextcloud/disable-groups-on-personal-page
allow admin to disable groups on personal page
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 f1e2458e55a..d3d45910af5 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']) {