mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Update pagination code snippet
Update pagination snippet to use summarised pagination.
This commit is contained in:
parent
684f5311a0
commit
fa325d2360
@ -53,7 +53,7 @@ switch between pages:
|
||||
<% if $PaginatedPages.NotFirstPage %>
|
||||
<a class="prev" href="$PaginatedPages.PrevLink">Prev</a>
|
||||
<% end_if %>
|
||||
<% loop $PaginatedPages.Pages %>
|
||||
<% loop $PaginatedPages.PaginationSummary %>
|
||||
<% if $CurrentBool %>
|
||||
$PageNum
|
||||
<% else %>
|
||||
|
Loading…
Reference in New Issue
Block a user