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
163a87a7
Commit
163a87a7
authored
Apr 04, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
make a custom class for the burndown data toggle
parent
796158c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/burndown_chart/index.js
app/assets/javascripts/burndown_chart/index.js
+1
-1
app/views/shared/milestones/_burndown.html.haml
app/views/shared/milestones/_burndown.html.haml
+1
-1
No files found.
app/assets/javascripts/burndown_chart/index.js
View file @
163a87a7
...
...
@@ -25,7 +25,7 @@ $(() => {
let
currentView
=
'
count
'
;
chart
.
setData
(
openIssuesCount
,
{
label
:
'
Open issues
'
,
animate
:
true
});
$
(
'
.
burndown-header
'
).
on
(
'
click
'
,
'
.bt
n
'
,
function
switchData
()
{
$
(
'
.
js-burndown-data-selector
'
).
on
(
'
click
'
,
'
butto
n
'
,
function
switchData
()
{
const
$this
=
$
(
this
);
const
show
=
$this
.
data
(
'
show
'
);
if
(
currentView
!==
show
)
{
...
...
app/views/shared/milestones/_burndown.html.haml
View file @
163a87a7
...
...
@@ -11,7 +11,7 @@
.burndown-header
%h3
Burndown chart
.btn-group
.btn-group
.js-burndown-data-selector
%button
.btn.btn-xs.active
{
data:
{
show:
'count'
}
}
Issues
%button
.btn.btn-xs
{
data:
{
show:
'weight'
}
}
...
...
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