BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
group_item.vue
app/assets/javascripts/groups/components/group_item.vue
+5
-3
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