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
f4cf033b
Commit
f4cf033b
authored
Mar 11, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
2779a94e
a3521bcb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
1 deletion
+21
-1
app/views/groups/_home_panel.html.haml
app/views/groups/_home_panel.html.haml
+1
-1
changelogs/unreleased/expose-group-id-on-home-panel.yml
changelogs/unreleased/expose-group-id-on-home-panel.yml
+5
-0
spec/views/groups/_home_panel.html.haml_spec.rb
spec/views/groups/_home_panel.html.haml_spec.rb
+15
-0
No files found.
app/views/groups/_home_panel.html.haml
View file @
f4cf033b
...
...
@@ -13,7 +13,7 @@
=
visibility_level_icon
(
@group
.
visibility_level
,
fw:
false
,
options:
{
class:
'icon'
})
.home-panel-metadata.d-flex.align-items-center.text-secondary
%span
=
_
(
"Group
"
)
=
_
(
"Group
ID: %{group_id}"
)
%
{
group_id:
@group
.
id
}
-
if
current_user
%span
.access-request-links.prepend-left-8
=
render
'shared/members/access_request_links'
,
source:
@group
...
...
changelogs/unreleased/expose-group-id-on-home-panel.yml
0 → 100644
View file @
f4cf033b
---
title
:
Expose group id on home panel
merge_request
:
25897
author
:
Peter Marko
type
:
added
spec/views/groups/_home_panel.html.haml_spec.rb
0 → 100644
View file @
f4cf033b
require
'spec_helper'
describe
'groups/_home_panel'
do
let
(
:group
)
{
create
(
:group
)
}
before
do
assign
(
:group
,
group
)
end
it
'renders the group ID'
do
render
expect
(
rendered
).
to
have_content
(
"Group ID:
#{
group
.
id
}
"
)
end
end
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