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
a5759710
Unverified
Commit
a5759710
authored
Jan 06, 2017
by
Ryan Harris
Committed by
Luke "Jared" Bennett
Jan 07, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Resolved merge conflict in app/views/shared/milestones/_issuables.html.haml
parent
8ab94120
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
31 additions
and
0 deletions
+31
-0
_issuables.html.haml
app/views/shared/milestones/_issuables.html.haml
+1
-0
25277-milestone-counter-number-with-delimiter.yml
...eleased/25277-milestone-counter-number-with-delimiter.yml
+4
-0
issuables.html.haml
spec/javascripts/fixtures/issuables.html.haml
+5
-0
milestones_spec.js.es6
spec/javascripts/milestones_spec.js.es6
+21
-0
No files found.
app/views/shared/milestones/_issuables.html.haml
View file @
a5759710
...
...
@@ -9,6 +9,7 @@
-
if
show_counter
.right
=
issuables
.
size
.pull-right
=
number_with_delimiter
(
issuables
.
size
)
-
class_prefix
=
dom_class
(
issuables
).
pluralize
%ul
{
class:
"well-list #{class_prefix}-sortable-list"
,
id:
"#{class_prefix}-list-#{id}"
,
"data-state"
=>
id
}
...
...
changelogs/unreleased/25277-milestone-counter-number-with-delimiter.yml
0 → 100644
View file @
a5759710
---
title
:
Added number_with_delimiter to counter on milestone panels
merge_request
:
author
:
Ryan Harris
spec/javascripts/fixtures/issuables.html.haml
0 → 100644
View file @
a5759710
.panel.panel-default
.panel-heading
Unstarted Issues (open and unassigned)
.pull-right
1
spec/javascripts/milestones_spec.js.es6
0 → 100644
View file @
a5759710
/*= require jquery */
(() => {
describe('MilestonePanel', () => {
const issuesCount = '.pull-right';
const fixtureTemplate = 'issuables.html';
function setIssuesCount(newCount) {
$(issuesCount).text(newCount);
}
fixture.preload(fixtureTemplate);
beforeEach(() => {
fixture.load(fixtureTemplate);
});
it('should add delimiter to the issues count', () => {
setIssuesCount(1000);
expect($(issuesCount).text()).toEqual('1,000');
});
});
})();
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