feat: pagination
This commit is contained in:
parent
f4596f41e4
commit
9e4a2e90ec
2 changed files with 44 additions and 18 deletions
|
|
@ -19,7 +19,7 @@
|
|||
</li>
|
||||
</f:if>
|
||||
<f:for each="{pagination.allPageNumbers}" as="page">
|
||||
<li class="{f:if(condition: '{page} == {paginator.currentPageNumber}', then:'current')}">
|
||||
<li class="{f:if(condition: page == paginator.currentPageNumber, then:'current')}">
|
||||
<a href="{f:uri.action(action:actionName, arguments:{currentPage: page},addQueryString:'untrusted')}">{page}</a>
|
||||
</li>
|
||||
</f:for>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue