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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
57537d3f
Commit
57537d3f
authored
Dec 13, 2019
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add link to group on group admin page
parent
339bc4d8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
1 deletion
+15
-1
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+2
-1
changelogs/unreleased/xanf-add-group-link.yml
changelogs/unreleased/xanf-add-group-link.yml
+5
-0
spec/features/admin/admin_groups_spec.rb
spec/features/admin/admin_groups_spec.rb
+8
-0
No files found.
app/views/admin/groups/show.html.haml
View file @
57537d3f
...
@@ -19,7 +19,8 @@
...
@@ -19,7 +19,8 @@
=
group_icon
(
@group
,
class:
"avatar s60"
)
=
group_icon
(
@group
,
class:
"avatar s60"
)
%li
%li
%span
.light
=
_
(
'Name:'
)
%span
.light
=
_
(
'Name:'
)
%strong
=
@group
.
name
%strong
=
link_to
@group
.
name
,
group_path
(
@group
)
%li
%li
%span
.light
=
_
(
'Path:'
)
%span
.light
=
_
(
'Path:'
)
%strong
%strong
...
...
changelogs/unreleased/xanf-add-group-link.yml
0 → 100644
View file @
57537d3f
---
title
:
link to group on group admin page
merge_request
:
21709
author
:
type
:
added
spec/features/admin/admin_groups_spec.rb
View file @
57537d3f
...
@@ -94,6 +94,14 @@ describe 'Admin Groups' do
...
@@ -94,6 +94,14 @@ describe 'Admin Groups' do
expect
(
page
).
to
have_content
(
"Group:
#{
group
.
name
}
"
)
expect
(
page
).
to
have_content
(
"Group:
#{
group
.
name
}
"
)
expect
(
page
).
to
have_content
(
"ID:
#{
group
.
id
}
"
)
expect
(
page
).
to
have_content
(
"ID:
#{
group
.
id
}
"
)
end
end
it
'has a link to the group'
do
group
=
create
(
:group
,
:private
)
visit
admin_group_path
(
group
)
expect
(
page
).
to
have_link
(
group
.
name
,
href:
group_path
(
group
))
end
end
end
describe
'group edit'
do
describe
'group edit'
do
...
...
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