hide delete icon on group for subadmins
because they cannot delete a group
This commit is contained in:
parent
f84b7907ab
commit
9ad4510f5b
|
@ -43,9 +43,11 @@
|
||||||
</a>
|
</a>
|
||||||
<span class="utils">
|
<span class="utils">
|
||||||
<span class="usercount"><?php if($group['usercount'] > 0) { p($group['usercount']); } ?></span>
|
<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'))?>">
|
<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" />
|
<img src="<?php print_unescaped(image_path('core', 'actions/delete.svg')) ?>" class="svg" />
|
||||||
</a>
|
</a>
|
||||||
|
<?php endif; ?>
|
||||||
</span>
|
</span>
|
||||||
</li>
|
</li>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
|
|
Loading…
Reference in New Issue