summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--settings/templates/users/part.grouplist.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/settings/templates/users/part.grouplist.php b/settings/templates/users/part.grouplist.php
index 51638c7bcce..cd6ac4a1e89 100644
--- a/settings/templates/users/part.grouplist.php
+++ b/settings/templates/users/part.grouplist.php
@@ -43,9 +43,11 @@
</a>
<span class="utils">
<span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span>
+ <?php if($_['isAdmin']): ?>
<a href="#" class="action delete" original-title="<?php p($l->t('Delete'))?>">
<img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" class="svg" />
</a>
+ <?php endif; ?>
</span>
</li>
<?php endforeach; ?>