Bug 13487: DT pagination contains '...' for the full_numbers form

Since the DT upgrade (bug 12986), the full_numbers pagination adds a
span (containing '...'). It is not managed by the css file and is put at
the end of the page numbers ( "1 2 3 4 5 20 NEXT LAST ...", we expect "1
2 3 4 5 ... 20 NEXT LAST").

Test plan:
1/ Go on the member search and launch a search which will return more than
7 pages
2/ Without this patch, the '...' span is put at the end of the
pagination bar.
3/ With the patch it should be better placed.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Jonathan Druart 2014-12-22 10:44:26 +01:00 committed by Tomas Cohen Arazi
parent ad0711ba32
commit 2d413ffab1

View file

@ -68,17 +68,21 @@ div.dataTables_paginate {
}
.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
.paging_full_numbers a.paginate_active,
.paging_full_numbers > span > span {
border-right : 1px solid #AAA;
border-left : 1px solid #FFF;
display : block;
float : left;
line-height:1.9em;
padding : 0.4em 0.7em;
}
.paging_full_numbers a.paginate_button,
.paging_full_numbers a.paginate_active {
cursor: pointer;
}
.paging_full_numbers a.paginate_button {
.paging_full_numbers a.paginate_button,
.paging_full_numbers > span > span {
background-color : #FFF;
background-repeat: no-repeat;
color : #0000CC;