Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
f1866058
Commit
f1866058
authored
Feb 11, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix_admin_group_ui' into 'master'
Improve group edit page for admins Fixes #61
parents
6221dc58
3915b4b9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
12 deletions
+23
-12
app/views/admin/groups/edit.html.haml
app/views/admin/groups/edit.html.haml
+22
-11
app/views/groups/edit.html.haml
app/views/groups/edit.html.haml
+1
-1
No files found.
app/views/admin/groups/edit.html.haml
View file @
f1866058
...
...
@@ -26,19 +26,30 @@
%li
It will change web url for access group and group projects.
%li
It will change the git path to repositories under this group.
%hr
.clearfix
=
f
.
label
:ldap_cn
do
LDAP Group cn
.input
=
f
.
text_field
:ldap_cn
,
class:
"xxlarge left"
%fieldset
%legend
LDAP group settings
%div
.form-holder
=
form_for
@group
do
|
f
|
.form-group.clearfix
=
f
.
label
:ldap_cn
,
class:
'control-label'
do
LDAP Group cn
.col-sm-10
=
f
.
hidden_field
:ldap_cn
,
placeholder:
"Ex. QA group"
,
class:
"xxlarge ajax-ldap-groups-select input-mn-300"
.help-block
Synchronize
#{
@group
.
name
}
's members with this LDAP group.
%br
If you select an LDAP group you do not belong to you will lose ownership of
#{
@group
.
name
}
.
.clearfix
=
f
.
label
:ldap_access
do
LDAP Access
.input
=
f
.
select
:ldap_access
,
options_for_select
(
UsersGroup
.
group_access_roles
,
@group
.
ldap_access
)
.form-group.clearfix
=
f
.
label
:ldap_access
,
class:
'control-label'
do
LDAP Access
.col-sm-10
=
f
.
select
:ldap_access
,
options_for_select
(
UsersGroup
.
group_access_roles
,
@group
.
ldap_access
)
.help-block
Default, minimum permission level for LDAP group members of
#{
@group
.
name
}
.
%br
You can manage permission levels for individual group members in the Members tab.
.form-actions
=
f
.
submit
'Save changes'
,
class:
"btn btn-primary"
...
...
app/views/groups/edit.html.haml
View file @
f1866058
...
...
@@ -71,7 +71,7 @@
=
f
.
label
:ldap_cn
,
class:
'control-label'
do
LDAP Group cn
.col-sm-10
=
f
.
hidden_field
:ldap_cn
,
placeholder:
"Ex. QA group"
,
class:
"xxlarge ajax-ldap-groups-select"
=
f
.
hidden_field
:ldap_cn
,
placeholder:
"Ex. QA group"
,
class:
"xxlarge ajax-ldap-groups-select
input-mn-300
"
.help-block
Synchronize
#{
@group
.
name
}
's members with this LDAP group.
%br
...
...
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