Skip to content

Commit

Permalink
Replace paginate widget
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed Oct 10, 2024
1 parent 5987170 commit 3bff4f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Resources/Private/Templates/Administration/List.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ <h3>
<f:then>
<f:if condition="{settings.list.pagination} && {settings.list.limitPerPage} < {f:count(subject: users)} && !{accessPending}">
<f:then>
<f:widget.paginate objects="{users}" as="paginatedUsers" configuration="{itemsPerPage: '{settings.list.limitPerPage}', insertAbove: 1, insertBelow: 1, maximumNumberOfLinks: 10}">
<f:for each=="{users}" as="paginatedUsers">
<f:render partial="Administration/ListItems" arguments="{users:paginatedUsers,accessPending:accessPending}"/>
</f:widget.paginate>
</f:for>
</f:then>
<f:else>
<f:render partial="Administration/ListItems" arguments="{users:users,accessPending:accessPending}"/>
Expand Down

0 comments on commit 3bff4f3

Please sign in to comment.