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
Tatuya Kamada
gitlab-ce
Commits
0d3b7584
Commit
0d3b7584
authored
Feb 17, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3017 from jojosch/owner-link-admin
Fix link to owner of group and team in admin interface
parents
1efeb1b5
3ae7a45d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/admin/groups/index.html.haml
app/views/admin/groups/index.html.haml
+1
-1
app/views/admin/teams/index.html.haml
app/views/admin/teams/index.html.haml
+1
-1
No files found.
app/views/admin/groups/index.html.haml
View file @
0d3b7584
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
%td
=
group
.
path
%td
=
group
.
path
%td
=
group
.
projects
.
count
%td
=
group
.
projects
.
count
%td
%td
=
link_to
group
.
owner_name
,
admin_user_path
(
group
.
owner
_id
)
=
link_to
group
.
owner_name
,
admin_user_path
(
group
.
owner
)
%td
.bgred
%td
.bgred
=
link_to
'Rename'
,
edit_admin_group_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
"btn btn-small"
=
link_to
'Rename'
,
edit_admin_group_path
(
group
),
id:
"edit_
#{
dom_id
(
group
)
}
"
,
class:
"btn btn-small"
=
link_to
'Destroy'
,
[
:admin
,
group
],
confirm:
"REMOVE
#{
group
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
=
link_to
'Destroy'
,
[
:admin
,
group
],
confirm:
"REMOVE
#{
group
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
...
...
app/views/admin/teams/index.html.haml
View file @
0d3b7584
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
%td
=
team
.
projects
.
count
%td
=
team
.
projects
.
count
%td
=
team
.
members
.
count
%td
=
team
.
members
.
count
%td
%td
=
link_to
team
.
owner
.
name
,
admin_user_path
(
team
.
owner
_id
)
=
link_to
team
.
owner
.
name
,
admin_user_path
(
team
.
owner
)
%td
.bgred
%td
.bgred
=
link_to
'Rename'
,
edit_admin_team_path
(
team
),
id:
"edit_
#{
dom_id
(
team
)
}
"
,
class:
"btn btn-small"
=
link_to
'Rename'
,
edit_admin_team_path
(
team
),
id:
"edit_
#{
dom_id
(
team
)
}
"
,
class:
"btn btn-small"
=
link_to
'Destroy'
,
admin_team_path
(
team
),
confirm:
"REMOVE
#{
team
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
=
link_to
'Destroy'
,
admin_team_path
(
team
),
confirm:
"REMOVE
#{
team
.
name
}
? Are you sure?"
,
method: :delete
,
class:
"btn btn-small btn-remove"
...
...
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