2017-07-20 01:51:24 +02:00
|
|
|
<tr>
|
2017-11-12 22:47:24 +01:00
|
|
|
<td class="grid-field__paginator bottom-all" colspan="$Colspan">
|
2017-08-01 06:41:17 +02:00
|
|
|
<span class="pagination-page-size">
|
2017-11-12 22:47:24 +01:00
|
|
|
<%t Symbiote\\GridFieldExtensions\\GridFieldConfigurablePaginator.SHOW 'Show' is 'Verb. Example: Show 1 of 2' %>
|
2017-08-01 06:41:17 +02:00
|
|
|
<select name="$PageSizesName" class="pagination-page-size-select" data-skip-autofocus="true">
|
|
|
|
<% loop $PageSizes %>
|
|
|
|
<option <% if $Selected %>selected="selected"<% end_if %>>$Size</option>
|
|
|
|
<% end_loop %>
|
|
|
|
</select>
|
|
|
|
$PageSizesSubmit
|
|
|
|
</span>
|
2017-07-20 01:51:24 +02:00
|
|
|
<% if not $OnlyOnePage %>
|
2017-11-12 22:47:24 +01:00
|
|
|
<div class="grid-field__paginator__controls datagrid-pagination">
|
2017-07-20 01:51:24 +02:00
|
|
|
$FirstPage $PreviousPage
|
|
|
|
<span class="pagination-page-number">
|
2017-11-12 22:47:24 +01:00
|
|
|
<%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.Page 'Page' %>
|
2017-07-20 01:51:24 +02:00
|
|
|
<input class="text" value="$CurrentPageNum" data-skip-autofocus="true" />
|
2017-11-12 22:47:24 +01:00
|
|
|
<%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.OF 'of' is 'Example: View 1 of 2' %>
|
2017-07-20 01:51:24 +02:00
|
|
|
$NumPages
|
|
|
|
</span>
|
|
|
|
$NextPage $LastPage
|
|
|
|
</div>
|
|
|
|
<% end_if %>
|
2017-11-12 22:47:24 +01:00
|
|
|
<span class="grid-field__paginator_numbers pagination-records-number">
|
2017-07-20 01:51:24 +02:00
|
|
|
{$FirstShownRecord}–{$LastShownRecord}
|
2017-11-12 22:47:24 +01:00
|
|
|
<%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.OF 'of' is 'Example: View 1 of 2' %>
|
2017-07-20 01:51:24 +02:00
|
|
|
$NumRecords
|
|
|
|
</span>
|
|
|
|
</td>
|
|
|
|
</tr>
|