Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
die_coolen_jungs
our_own_cloud_project
Commits
5cbefeca
Unverified
Commit
5cbefeca
authored
Oct 14, 2016
by
Vincent Petry
Browse files
Hide "Add group" for subadmins
parent
e4e0e27e
Changes
1
Hide whitespace changes
Inline
Side-by-side
settings/templates/users/part.grouplist.php
View file @
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'
));
?>
..."
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment