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
0
Merge Requests
0
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
Boxiang Sun
gitlab-ce
Commits
965cec68
Commit
965cec68
authored
Jan 28, 2015
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Project/Group access dropdown should contain link to permissions help page
parent
8eb365c0
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
app/views/groups/_new_group_member.html.haml
app/views/groups/_new_group_member.html.haml
+5
-1
app/views/projects/team_members/_form.html.haml
app/views/projects/team_members/_form.html.haml
+6
-1
No files found.
app/views/groups/_new_group_member.html.haml
View file @
965cec68
...
...
@@ -5,7 +5,11 @@
.form-group
=
f
.
label
:access_level
,
"Group Access"
,
class:
'control-label'
.col-sm-10
=
select_tag
:access_level
,
options_for_select
(
GroupMember
.
access_level_roles
,
@users_group
.
access_level
),
class:
"project-access-select select2"
.col-sm-10
=
select_tag
:access_level
,
options_for_select
(
GroupMember
.
access_level_roles
,
@users_group
.
access_level
),
class:
"project-access-select select2"
.help-block
Read more about role permissions
%strong
=
link_to
"here"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
.form-actions
=
f
.
submit
'Add users into group'
,
class:
"btn btn-create"
app/views/projects/team_members/_form.html.haml
View file @
965cec68
...
...
@@ -17,7 +17,12 @@
%p
2. Set access level for them
.form-group
=
f
.
label
:access_level
,
"Project Access"
,
class:
'control-label'
.col-sm-10
=
select_tag
:access_level
,
options_for_select
(
Gitlab
::
Access
.
options
,
@user_project_relation
.
access_level
),
class:
"project-access-select select2"
.col-sm-10
=
select_tag
:access_level
,
options_for_select
(
Gitlab
::
Access
.
options
,
@user_project_relation
.
access_level
),
class:
"project-access-select select2"
.help-block
Read more about role permissions
%strong
=
link_to
"here"
,
help_page_path
(
"permissions"
,
"permissions"
),
class:
"vlink"
.form-actions
=
f
.
submit
'Add users'
,
class:
"btn btn-create"
...
...
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