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
Kazuhiko Shiozaki
gitlab-ce
Commits
ef85202f
Commit
ef85202f
authored
Jan 25, 2013
by
Andrey Kumanyaev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix links in admin group view page (user links)
parent
916165df
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+8
-7
No files found.
app/views/admin/groups/show.html.haml
View file @
ef85202f
...
@@ -72,16 +72,17 @@
...
@@ -72,16 +72,17 @@
%th
Users
%th
Users
%th
Project Access:
%th
Project Access:
-
@group
.
users
.
each
do
|
u
|
-
@group
.
users
.
each
do
|
user
|
%tr
{
class:
"user_#{u.id}"
}
-
next
unless
user
%td
.name
=
link_to
u
.
name
,
admin_user_path
(
u
)
%tr
{
class:
"user_#{user.id}"
}
%td
.name
=
link_to
user
.
name
,
admin_user_path
(
user
)
%td
.projects_access
%td
.projects_access
-
u
.
authorized_projects
.
in_namespace
(
@group
).
each
do
|
project
|
-
u
ser
.
authorized_projects
.
in_namespace
(
@group
).
each
do
|
project
|
-
u_p
=
u
.
users_projects
.
in_project
(
project
).
first
-
u_p
=
u
ser
.
users_projects
.
in_project
(
project
).
first
-
next
unless
u_p
-
next
unless
u_p
%span
%span
=
project
.
name
=
project
.
name
_with_namespace
=
link_to
"(
#{
u_p
.
project_access_human
}
)"
,
edit_admin_
team_member_path
(
u_p
)
=
link_to
"(
#{
u_p
.
project_access_human
}
)"
,
edit_admin_
project_member_path
(
project
,
user
)
%tr
%tr
%td
.input
=
select_tag
:user_ids
,
options_from_collection_for_select
(
@users
,
:id
,
:name
),
multiple:
true
,
data:
{
placeholder:
'Select users'
},
class:
'chosen span5'
%td
.input
=
select_tag
:user_ids
,
options_from_collection_for_select
(
@users
,
:id
,
:name
),
multiple:
true
,
data:
{
placeholder:
'Select users'
},
class:
'chosen span5'
%td
=
select_tag
:project_access
,
options_for_select
(
Project
.
access_options
),
{
class:
"project-access-select chosen span3"
}
%td
=
select_tag
:project_access
,
options_for_select
(
Project
.
access_options
),
{
class:
"project-access-select chosen span3"
}
...
...
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