silverstripe-framework/templates/SilverStripe/Forms/GridField/GridFieldPaginator_Row.ss
Damian Mooyman 8dd644d25d
API Namespace all classes
Namespace all templates
Move difflib and BBCodeParser2 to thirdparty
Remove deprecated API marked for removal in 4.0
2016-09-08 10:23:17 +12:00

24 lines
814 B
Scheme

<tr>
<td class="grid-field__paginator bottom-all" colspan="$Colspan">
<% if $OnlyOnePage %>
<% else %>
<div class="grid-field__paginator__controls 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' is 'Example: View 1 of 2' %>
$NumPages
</span>
$NextPage $LastPage
</div>
<% end_if %>
<span class="grid-field__paginator_numbers pagination-records-number">
<%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' %>
$NumRecords
</span>
</td>
</tr>