hide delete icon on group for subadmins

because they cannot delete a group
This commit is contained in:
michag86 2015-08-18 20:20:19 +02:00
parent f84b7907ab
commit 9ad4510f5b
1 changed files with 2 additions and 0 deletions

View File

@ -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; ?>