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
3bb0a9c8
Commit
3bb0a9c8
authored
Mar 28, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
use correct first/last symbols in vue pagination component
parent
d4c99f64
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
4 deletions
+8
-4
app/assets/javascripts/vue_shared/components/table_pagination.js
...ets/javascripts/vue_shared/components/table_pagination.js
+2
-2
changelogs/unreleased/29950-vue-pagination-icons.yml
changelogs/unreleased/29950-vue-pagination-icons.yml
+4
-0
spec/javascripts/vue_shared/components/table_pagination_spec.js
...avascripts/vue_shared/components/table_pagination_spec.js
+2
-2
No files found.
app/assets/javascripts/vue_shared/components/table_pagination.js
View file @
3bb0a9c8
...
...
@@ -3,8 +3,8 @@ const UI_LIMIT = 6;
const
SPREAD
=
'
...
'
;
const
PREV
=
'
Prev
'
;
const
NEXT
=
'
Next
'
;
const
FIRST
=
'
<<
First
'
;
const
LAST
=
'
Last
>>
'
;
const
FIRST
=
'
«
First
'
;
const
LAST
=
'
Last
»
'
;
export
default
{
props
:
{
...
...
changelogs/unreleased/29950-vue-pagination-icons.yml
0 → 100644
View file @
3bb0a9c8
---
title
:
consistent icons in vue and kaminari pagers
merge_request
:
author
:
spec/javascripts/vue_shared/components/table_pagination_spec.js
View file @
3bb0a9c8
...
...
@@ -83,7 +83,7 @@ describe('Pagination component', () => {
},
}).
$mount
();
component
.
changePage
({
target
:
{
innerText
:
'
Last
>>
'
}
});
component
.
changePage
({
target
:
{
innerText
:
'
Last
»
'
}
});
expect
(
changeChanges
.
one
).
toEqual
(
10
);
});
...
...
@@ -100,7 +100,7 @@ describe('Pagination component', () => {
},
}).
$mount
();
component
.
changePage
({
target
:
{
innerText
:
'
<<
First
'
}
});
component
.
changePage
({
target
:
{
innerText
:
'
«
First
'
}
});
expect
(
changeChanges
.
one
).
toEqual
(
1
);
});
...
...
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