silverstripe-framework/templates/Includes/GridFieldPaginator_Row.ss

23 lines
746 B
Scheme
Raw Normal View History

<tr>
<td class="bottom-all" colspan="$Colspan">
<% if $OnlyOnePage %>
<% else %>
<div class="datagrid-pagination">
2012-08-10 00:30:32 +02:00
$FirstPage $PreviousPage
<span class="pagination-page-number">
<% _t('Pagination.Page', 'Page') %>
<input class="text" value="$CurrentPageNum" data-skip-autofocus="true" />
<% _t('TableListField_PageControls.ss.OF', 'of', 'Example: View 1 of 2') %>
$NumPages
</span>
$NextPage $LastPage
</div>
<% end_if %>
2012-08-10 00:30:32 +02:00
<span class="pagination-records-number">
<% _t('Pagination.View', 'View', 'Verb. Example: View 1 of 2') %>
$FirstShownRecord - $LastShownRecord
<% _t('TableListField_PageControls.ss.OF', 'of', 'Example: View 1 of 2') %>
$NumRecords
</span>
</td>
</tr>