silverstripe-framework/templates/Includes/GridFieldPaginator_Row.ss

24 lines
730 B
Scheme
Raw Normal View History

<tr>
<td class="bottom-all" colspan="$Colspan">
<% if $OnlyOnePage %>
<% else %>
<div class="datagrid-pagination">
$FirstPage $PreviousPage
2012-08-10 00:30:32 +02:00
<span class="pagination-page-number">
<%t Pagination.Page 'Page' %>
<input class="text" value="$CurrentPageNum" data-skip-autofocus="true" />
<%t TableListField_PageControls_ss.OF 'of' is 'Example: View 1 of 2' %>
2012-08-10 00:30:32 +02:00
$NumPages
</span>
$NextPage $LastPage
</div>
<% end_if %>
2012-08-10 00:30:32 +02:00
<span class="pagination-records-number">
2015-07-22 14:51:34 +02:00
<%t Pagination.View 'View' is 'Verb. Example: View 1 of 2' %>
{$FirstShownRecord}&ndash;{$LastShownRecord}
<%t TableListField_PageControls_ss.OF 'of' is 'Example: View 1 of 2' %>
2012-08-10 00:30:32 +02:00
$NumRecords
</span>
</td>
</tr>