diff options
author | michag86 <micha_g@arcor.de> | 2015-08-18 20:20:19 +0200 |
---|---|---|
committer | michag86 <micha_g@arcor.de> | 2015-08-18 20:20:19 +0200 |
commit | 9ad4510f5b8ddc5f932f78e55adeb6763906d12b (patch) | |
tree | ab01b99d832a1888dcecfec97978ec0fc80dc13c /settings/templates/users | |
parent | f84b7907ab247985d71efe36fd5a0fffc713400b (diff) | |
download | nextcloud-server-9ad4510f5b8ddc5f932f78e55adeb6763906d12b.tar.gz nextcloud-server-9ad4510f5b8ddc5f932f78e55adeb6763906d12b.zip |
hide delete icon on group for subadmins
because they cannot delete a group
Diffstat (limited to 'settings/templates/users')
-rw-r--r-- | settings/templates/users/part.grouplist.php | 2 |
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; ?> |