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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
3208b674
Commit
3208b674
authored
13 years ago
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
links for admin
parent
53421e06
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
5 deletions
+3
-5
app/controllers/keys_controller.rb
app/controllers/keys_controller.rb
+0
-2
app/views/admin/projects/index.html.haml
app/views/admin/projects/index.html.haml
+1
-1
app/views/admin/team_members/index.html.haml
app/views/admin/team_members/index.html.haml
+1
-1
app/views/admin/users/index.html.haml
app/views/admin/users/index.html.haml
+1
-1
No files found.
app/controllers/keys_controller.rb
View file @
3208b674
...
@@ -18,8 +18,6 @@ class KeysController < ApplicationController
...
@@ -18,8 +18,6 @@ class KeysController < ApplicationController
respond_with
(
@key
)
respond_with
(
@key
)
end
end
# DELETE /keys/1
# DELETE /keys/1.json
def
destroy
def
destroy
@key
=
current_user
.
keys
.
find
(
params
[
:id
])
@key
=
current_user
.
keys
.
find
(
params
[
:id
])
@key
.
destroy
@key
.
destroy
...
...
This diff is collapsed.
Click to expand it.
app/views/admin/projects/index.html.haml
View file @
3208b674
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
-
@admin_projects
.
each
do
|
project
|
-
@admin_projects
.
each
do
|
project
|
%tr
%tr
%td
=
project
.
name
%td
=
link_to
project
.
name
,
[
:admin
,
project
]
%td
=
project
.
code
%td
=
project
.
code
%td
=
project
.
path
%td
=
project
.
path
%td
=
project
.
users_projects
.
count
%td
=
project
.
users_projects
.
count
...
...
This diff is collapsed.
Click to expand it.
app/views/admin/team_members/index.html.haml
View file @
3208b674
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
-
members
.
each
do
|
tm
|
-
members
.
each
do
|
tm
|
-
user
=
tm
.
user
-
user
=
tm
.
user
%tr
%tr
%td
.span-6
=
tm
.
user_name
%td
.span-6
=
link_to
tm
.
user_name
,
admin_team_member_path
(
tm
)
%td
.span-6
=
tm
.
user_email
%td
.span-6
=
tm
.
user_email
%td
.span-1
=
check_box_tag
"read"
,
1
,
project
.
readers
.
include?
(
user
),
:disabled
=>
:disabled
%td
.span-1
=
check_box_tag
"read"
,
1
,
project
.
readers
.
include?
(
user
),
:disabled
=>
:disabled
%td
.span-1
=
check_box_tag
"commit"
,
1
,
project
.
writers
.
include?
(
user
),
:disabled
=>
:disabled
%td
.span-1
=
check_box_tag
"commit"
,
1
,
project
.
writers
.
include?
(
user
),
:disabled
=>
:disabled
...
...
This diff is collapsed.
Click to expand it.
app/views/admin/users/index.html.haml
View file @
3208b674
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
-
@admin_users
.
each
do
|
user
|
-
@admin_users
.
each
do
|
user
|
%tr
%tr
%td
=
check_box_tag
"admin"
,
1
,
user
.
admin
,
:disabled
=>
:disabled
%td
=
check_box_tag
"admin"
,
1
,
user
.
admin
,
:disabled
=>
:disabled
%td
=
user
.
name
%td
=
link_to
user
.
name
,
[
:admin
,
user
]
%td
=
user
.
email
%td
=
user
.
email
%td
=
user
.
users_projects
.
count
%td
=
user
.
users_projects
.
count
%td
=
link_to
'Show'
,
[
:admin
,
user
]
%td
=
link_to
'Show'
,
[
:admin
,
user
]
...
...
This diff is collapsed.
Click to expand it.
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