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
Jérome Perrin
gitlab-ce
Commits
5bd5d09b
Commit
5bd5d09b
authored
May 08, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Admin.user page: sort projects, add better confirm message for leaving team
parent
abff0399
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/views/admin/users/show.html.haml
app/views/admin/users/show.html.haml
+2
-2
No files found.
app/views/admin/users/show.html.haml
View file @
5bd5d09b
...
...
@@ -71,7 +71,7 @@
.ui-box
%h5
.title
Projects (
#{
@projects
.
count
}
)
%ul
.well-list
-
@projects
.
each
do
|
project
|
-
@projects
.
sort_by
(
&
:name_with_namespace
).
each
do
|
project
|
%li
=
link_to
admin_project_path
(
project
),
class:
dom_class
(
project
)
do
-
if
project
.
namespace
...
...
@@ -87,7 +87,7 @@
=
tm
.
project_access_human
=
link_to
edit_admin_project_member_path
(
project
,
tm
.
user
),
class:
"btn btn-small"
do
%i
.icon-edit
=
link_to
admin_project_member_path
(
project
,
tm
.
user
),
confirm:
'Are you sure?'
,
method: :delete
,
class:
"btn btn-small btn-remove"
do
=
link_to
admin_project_member_path
(
project
,
tm
.
user
),
confirm:
remove_from_project_team_message
(
project
,
@admin_user
)
,
method: :delete
,
class:
"btn btn-small btn-remove"
do
%i
.icon-remove
%p
.light
%i
.icon-wrench
...
...
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