Commit 328606dc authored by Vincent Petry's avatar Vincent Petry Committed by GitHub
Browse files

Merge pull request #26380 from owncloud/subadmin-removeaddgroup

Hide "Add group" for subadmins
parents 094ac2e5 5cbefeca
<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')); ?>..." />
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment