mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-08-26 20:45:47 +02:00
NEW: GridFieldPageCount widget to default config settings FIX: @extend .col_buttons in GridField.scss which was raising a warning
23 lines
754 B
Scheme
23 lines
754 B
Scheme
<tr>
|
|
<td class="bottom-all" colspan="$Colspan">
|
|
<% if $OnlyOnePage %>
|
|
<% else %>
|
|
<div class="datagrid-pagination">
|
|
$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 %>
|
|
<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> |