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
c218e0a1
Commit
c218e0a1
authored
Dec 07, 2021
by
Jose Ivan Vargas
Committed by
Peter Hegman
Dec 07, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Migrate badges in Admin -> Groups -> Show
To be Pajamas compliant Changelog: changed
parent
05b01676
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
app/views/admin/groups/show.html.haml
app/views/admin/groups/show.html.haml
+5
-9
No files found.
app/views/admin/groups/show.html.haml
View file @
c218e0a1
...
...
@@ -70,15 +70,13 @@
.card
.card-header
=
_
(
'Projects'
)
%span
.badge.badge-pill
#{
@group
.
projects
.
count
}
=
gl_badge_tag
@group
.
projects
.
count
%ul
.content-list
-
@projects
.
each
do
|
project
|
%li
%strong
=
link_to
project
.
full_name
,
[
:admin
,
project
]
%span
.badge.badge-pill
=
storage_counter
(
project
.
statistics
.
storage_size
)
=
gl_badge_tag
storage_counter
(
project
.
statistics
.
storage_size
)
%span
.float-right.light
%span
.monospace
=
project
.
full_path
+
'.git'
-
unless
@projects
.
size
<
Kaminari
.
config
.
default_per_page
...
...
@@ -90,15 +88,13 @@
.card
.card-header
=
_
(
'Projects shared with %{group_name}'
)
%
{
group_name:
@group
.
name
}
%span
.badge.badge-pill
#{
shared_projects
.
size
}
=
gl_badge_tag
shared_projects
.
size
%ul
.content-list
-
shared_projects
.
each
do
|
project
|
%li
%strong
=
link_to
project
.
full_name
,
[
:admin
,
project
]
%span
.badge.badge-pill
=
storage_counter
(
project
.
statistics
.
storage_size
)
=
gl_badge_tag
storage_counter
(
project
.
statistics
.
storage_size
)
%span
.float-right.light
%span
.monospace
=
project
.
full_path
+
'.git'
...
...
@@ -126,7 +122,7 @@
.card
.card-header
=
html_escape
(
_
(
"%{group_name} group members"
))
%
{
group_name:
"<strong>
#{
html_escape
(
@group
.
name
)
}
</strong>"
.
html_safe
}
%span
.badge.badge-pill
=
@group
.
users_count
=
gl_badge_tag
@group
.
users_count
=
render
'shared/members/manage_access_button'
,
path:
group_group_members_path
(
@group
)
%ul
.content-list.group-users-list.content-list.members-list
=
render
partial:
'shared/members/member'
,
...
...
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