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
0b594f68
Commit
0b594f68
authored
May 30, 2017
by
Alfredo Sumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Display number of users and number of projects for each group
parent
a9921e9d
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
app/assets/javascripts/groups/components/group_item.vue
app/assets/javascripts/groups/components/group_item.vue
+5
-3
app/assets/javascripts/groups/stores/groups_store.js
app/assets/javascripts/groups/stores/groups_store.js
+2
-2
No files found.
app/assets/javascripts/groups/components/group_item.vue
View file @
0b594f68
<
script
>
/* eslint-disable no-alert */
import
eventHub
from
'
../event_hub
'
;
export
default
{
...
...
@@ -29,7 +31,7 @@ export default {
},
leaveGroup
()
{
eventHub
.
$emit
(
'
leaveGroup
'
,
this
.
group
.
leavePath
);
}
}
,
},
computed
:
{
groupDomId
()
{
...
...
@@ -98,9 +100,9 @@ export default {
<i
aria-hidden=
"true"
class=
"fa fa-bookmark"
></i>
{{
group
.
numberProjects
}}
</span>
<span
class=
"number-
memb
ers"
>
<span
class=
"number-
us
ers"
>
<i
aria-hidden=
"true"
class=
"fa fa-users"
></i>
{{
group
.
number
Memb
ers
}}
{{
group
.
number
Us
ers
}}
</span>
<span
class=
"group-visibility"
>
<i
aria-hidden=
"true"
class=
"fa fa-globe"
></i>
...
...
app/assets/javascripts/groups/stores/groups_store.js
View file @
0b594f68
...
...
@@ -127,8 +127,8 @@ export default class GroupsStore {
editPath
:
rawGroup
.
edit_path
,
isOpen
:
false
,
isOrphan
:
false
,
numberProjects
:
10
,
number
Members
:
10
,
numberProjects
:
rawGroup
.
number_projects
,
number
Users
:
rawGroup
.
number_users
,
subGroups
:
{},
};
}
...
...
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