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
d59e16d6
Commit
d59e16d6
authored
Sep 29, 2021
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'copy-group-id' into 'master'
Make Group ID copy-on-click See merge request gitlab-org/gitlab!70532
parents
f54f18c0
0769d9be
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
app/views/groups/_home_panel.html.haml
app/views/groups/_home_panel.html.haml
+7
-5
locale/gitlab.pot
locale/gitlab.pot
+6
-3
No files found.
app/views/groups/_home_panel.html.haml
View file @
d59e16d6
...
...
@@ -5,17 +5,19 @@
.group-home-panel
.row.mb-3
.home-panel-title-row.col-md-12.col-lg-6.d-flex
.avatar-container.rect-avatar.s64.home-panel-avatar.gl-
mr-3.float-none
.avatar-container.rect-avatar.s64.home-panel-avatar.gl-
flex-shrink-0.float-none
{
class:
'gl-mr-3!'
}
=
group_icon
(
@group
,
class:
'avatar avatar-tile s64'
,
width:
64
,
height:
64
,
itemprop:
'logo'
)
.d-flex.flex-column.flex-wrap.align-items-baseline
.d-inline-flex.align-items-baseline
%h1
.home-panel-title.gl-mt-3.gl-mb-2
{
itemprop:
'name'
}
%h1
.home-panel-title.gl-mt-3.gl-mb-2
.gl-ml-3
{
itemprop:
'name'
}
=
@group
.
name
%span
.visibility-icon.text-secondary.gl-ml-2.has-tooltip
{
data:
{
container:
'body'
},
title:
visibility_icon_description
(
@group
)
}
=
visibility_level_icon
(
@group
.
visibility_level
,
options:
{
class:
'icon'
})
.home-panel-metadata.text-secondary
%span
=
_
(
"Group ID: %{group_id}"
)
%
{
group_id:
@group
.
id
}
.home-panel-metadata.text-secondary.gl-font-base.gl-font-weight-normal.gl-line-height-normal
-
if
can?
(
current_user
,
:read_group
,
@group
)
-
button_class
=
"btn gl-button btn-sm btn-tertiary btn-default-tertiary home-panel-metadata"
-
button_text
=
s_
(
'GroupPage|Group ID: %{group_id}'
)
%
{
group_id:
@group
.
id
}
=
clipboard_button
(
title:
s_
(
'GroupPage|Copy group ID'
),
text:
@group
.
id
,
hide_button_icon:
true
,
button_text:
button_text
,
class:
button_class
,
qa_selector:
'group_id_content'
,
itemprop:
'identifier'
)
-
if
current_user
%span
.gl-ml-3
=
render
'shared/members/access_request_links'
,
source:
@group
...
...
locale/gitlab.pot
View file @
d59e16d6
...
...
@@ -15922,9 +15922,6 @@ msgstr ""
msgid "Group ID"
msgstr ""
msgid "Group ID: %{group_id}"
msgstr ""
msgid "Group Owner must have signed in with SAML before enabling Group Managed Accounts"
msgstr ""
...
...
@@ -16099,6 +16096,12 @@ msgstr ""
msgid "GroupImport|Unable to process group import file"
msgstr ""
msgid "GroupPage|Copy group ID"
msgstr ""
msgid "GroupPage|Group ID: %{group_id}"
msgstr ""
msgid "GroupRoadmap|%{dateWord} – No end date"
msgstr ""
...
...
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