2013-08-05 13:34:01 +01:00
|
|
|
#will_paginate{'ng-show' => 'pages'}
|
|
|
|
.pagination
|
|
|
|
%div{'ng-class' => "{'disabled': !page.active}", 'ng-repeat' => 'page in pages', 'ng-switch' => 'page.type'}
|
2014-01-21 04:51:49 +00:00
|
|
|
%a{'ng-switch-when' => 'previous_page', 'ng-click' => 'goToPage(page.number)', href: ''}
|
2013-08-05 13:34:01 +01:00
|
|
|
= t('datatables.previous_label')
|
2014-01-21 04:51:49 +00:00
|
|
|
%a{'ng-switch-when' => 'first', href: ''}
|
2013-08-05 13:34:01 +01:00
|
|
|
{{page.number}}
|
2014-01-21 04:51:49 +00:00
|
|
|
%a{'ng-switch-when' => 'page', 'ng-click' => 'goToPage(page.number)', href: ''}
|
2013-08-05 13:34:01 +01:00
|
|
|
{{page.number}}
|
2014-01-21 04:51:49 +00:00
|
|
|
%a{'ng-switch-when' => 'more', 'ng-click' => 'goToPage(page.number)', href: ''} …
|
|
|
|
%a{'ng-switch-when' => 'last', 'ng-click' => 'goToPage(page.number)', href: ''}
|
2013-08-05 13:34:01 +01:00
|
|
|
{{page.number}}
|
2014-01-21 04:51:49 +00:00
|
|
|
%a{'ng-switch-when' => 'next_page', 'ng-click' => 'goToPage(page.number)', href: ''}
|
2013-08-05 13:34:01 +01:00
|
|
|
= t('datatables.next_label')
|