1717 </ tbody >
1818 < tr ng-if =":gtRefresh:pagination === false "> < td class ="gt-no-data " colspan ="{{:gtRefresh:(gtSettings | filter:{'visible':true}:true).length}} "> {{::gtNoDataTxt}}</ td > </ t > </ tr >
1919 </ table >
20- < div class =" gt-pagination text-center " ng-if =" :gtRefresh:gtPagination === true && pagination !== false " >
21- < ul class =" pagination ">
22- < li ng- class =":gtRefresh:{disabled: currentPage === 0} " ng-show =" currentPage !== 0 ">
23- < button class ="btn-link link " ng-click =" previousPage() " translate =" ALL.GENERAL#PAGINATION_PREVIOUS#BUTTON " ng-disabled =" :gtRefresh: currentPage === 0 "> « Prev </ button >
24- </ li >
25- < li ng-show =" :gtRefresh:currentPage > 3 " >
26- < button class =" btn-link link " ng-click =" setPage(0) " > 1 </ button > < small > … </ small >
27- </ li >
28- < li style =" display: inline;padding: 0 5px; " ng-repeat =" page in :gtRefresh:pagination " ng-class =" :gtRefresh:page === currentPage ? 'active':'' " > < button class =" btn-link link " ng-click =" setPage(page) " > {{page+1}} </ button > </ li >
29- < li ng-show =" :gtRefresh:currentPage +1 < pages.length-1 && pages.length > 4 " >
30- < small ng-show =":gtRefresh:currentPage + 3 < pages.length " > … </ small > < button class =" btn-link link " ng-click =" setPage( pages.length-1) " > {{pages.length}} </ button >
31- </ li >
32- < li ng-class =" :gtRefresh:{disabled: currentPage == pages.length} " ng-show =" :gtRefresh:currentPage+1 !== pages.length " >
33- < button class ="btn-link link " ng-click =" nextPage() " translate =" ALL.GENERAL#PAGINATION_NEXT#BUTTON " ng-disabled =":gtRefresh:currentPage+1 === pages.length "> Next » </ button >
34- </ li >
35- </ ul >
36- </ div >
20+ </ div >
21+ < div class =" gt-pagination text-center " ng-if =" :gtRefresh:gtPagination === true && pagination !== false ">
22+ < ul class ="pagination ">
23+ < li ng- class =":gtRefresh:{disabled: currentPage === 0} " ng-show =" currentPage !== 0 ">
24+ < button class =" btn-link link " ng-click =" previousPage() " translate =" ALL.GENERAL#PAGINATION_PREVIOUS#BUTTON " ng-disabled =" :gtRefresh:currentPage === 0 " > « Prev </ button >
25+ </ li >
26+ < li ng-show =" :gtRefresh:currentPage > 3 " >
27+ < button class =" btn-link link " ng-click =" setPage(0) " > 1 </ button > < small > … </ small >
28+ </ li >
29+ < li style =" display: inline;padding: 0 5px; " ng-repeat =" page in :gtRefresh:pagination " ng-class =" :gtRefresh:page === currentPage ? 'active':'' " > < button class =" btn-link link " ng-click =" setPage(page) " > {{page+1}} </ button > </ li >
30+ < li ng-show =":gtRefresh:currentPage +1 < pages.length-1 && pages.length > 4 " >
31+ < small ng-show =" :gtRefresh:currentPage + 3 < pages.length " > … </ small > < button class =" btn-link link " ng-click =" setPage(pages.length-1) " > {{pages.length}} </ button >
32+ </ li >
33+ < li ng- class =":gtRefresh:{disabled: currentPage == pages.length} " ng-show =":gtRefresh:currentPage+1 !== pages.length ">
34+ < button class =" btn-link link " ng-click =" nextPage() " translate =" ALL.GENERAL#PAGINATION_NEXT#BUTTON " ng-disabled =" :gtRefresh:currentPage+1 === pages.length " > Next » </ button >
35+ </ li >
36+ </ ul >
3737 </ div >
38- </ div >
38+ </ div >
0 commit comments