Merge pull request #2006 from nextcloud/downstream-26380
[oC] Hide "Add group" for subadmins
This commit is contained in:
commit
2a0f5407ba
1 changed files with 2 additions and 0 deletions
|
@ -1,10 +1,12 @@
|
|||
<ul id="usergrouplist" data-sort-groups="<?php p($_['sortGroups']); ?>">
|
||||
<!-- Add new group -->
|
||||
<?php if ($_['isAdmin']) { ?>
|
||||
<li id="newgroup-init">
|
||||
<a href="#">
|
||||
<span><?php p($l->t('Add group'))?></span>
|
||||
</a>
|
||||
</li>
|
||||
<?php } ?>
|
||||
<li id="newgroup-form" style="display: none">
|
||||
<form>
|
||||
<input type="text" id="newgroupname" placeholder="<?php p($l->t('Group name')); ?> …" />
|
||||
|
|
Loading…
Reference in a new issue