use correct first/last symbols in vue pagination component

This commit is contained in:
Simon Knox 2017-03-28 16:27:55 +11:00
parent d4c99f644a
commit 3bb0a9c873
3 changed files with 8 additions and 4 deletions

View File

@ -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: {

View File

@ -0,0 +1,4 @@
---
title: consistent icons in vue and kaminari pagers
merge_request:
author:

View File

@ -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);
});