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
58780d55
Commit
58780d55
authored
Apr 18, 2018
by
Kushal Pandya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace contributions table with Vue implementation
parent
a97a4905
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
43 deletions
+1
-43
ee/app/views/groups/analytics/show.html.haml
ee/app/views/groups/analytics/show.html.haml
+1
-43
No files found.
ee/app/views/groups/analytics/show.html.haml
View file @
58780d55
-
page_title
"Contribution Analytics"
-
page_title
"Contribution Analytics"
-
header_title
group_title
(
@group
,
"Contribution Analytics"
,
group_analytics_path
(
@group
))
-
if
@group
.
feature_available?
(
:contribution_analytics
)
-
if
@group
.
feature_available?
(
:contribution_analytics
)
.sub-header-block
.sub-header-block
...
@@ -76,48 +75,7 @@
...
@@ -76,48 +75,7 @@
%p
.light
Issues closed per group member
%p
.light
Issues closed per group member
%canvas
#issues_closed
{
height:
250
}
%canvas
#issues_closed
{
height:
250
}
.gray-content-block
#js-group-member-contributions
{
data:
{
member_contributions_path:
group_analytics_path
(
@group
,
{
start_date:
@start_date
,
format: :json
})
}
}
.oneline
Contributions per group member
.table-holder
%table
.table.sortable-table
#event-stats
%thead
%tr
%th
.sortable
Name
=
icon
(
'sort'
)
%th
.sortable
Pushed
=
icon
(
'sort'
)
%th
.sortable
Opened issues
=
icon
(
'sort'
)
%th
.sortable
Closed issues
=
icon
(
'sort'
)
%th
.sortable
Opened MR
=
icon
(
'sort'
)
%th
.sortable
Accepted MR
=
icon
(
'sort'
)
%th
.sortable
Total Contributions
=
icon
(
'sort'
)
%tbody
-
@users
.
each_with_index
do
|
user
,
index
|
%tr
%td
%strong
=
link_to
user
.
name
,
user
%td
=
@stats
[
:push
][
index
]
%td
=
@stats
[
:issues_created
][
index
]
%td
=
@stats
[
:issues_closed
][
index
]
%td
=
@stats
[
:merge_requests_created
][
index
]
%td
=
@stats
[
:merge_requests_merged
][
index
]
%td
=
@stats
[
:total_events
][
index
]
-# haml-lint:disable InlineJavaScript
-# haml-lint:disable InlineJavaScript
%script
#js-analytics-data
{
type:
"application/json"
}
%script
#js-analytics-data
{
type:
"application/json"
}
-
data
=
{}
-
data
=
{}
...
...
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