Commit cbf42f03 authored by Markus Sommer's avatar Markus Sommer
Browse files

[FEATURE] Add Pagination for events

parent 23306020
Pipeline #1353 passed with stages
in 2 minutes and 57 seconds
......@@ -5,9 +5,11 @@
<div class="row">
<div class="col-md-8">
<div id="accordion" role="tablist" aria-multiselectable="true">
<f:for each="{events}" as="event">
<f:render partial="Event/ListItem" arguments="{_all}" />
</f:for>
<f:widget.paginate objects="{events}" as="paginatedEvents">
<f:for each="{paginatedEvents}" as="event">
<f:render partial="Event/ListItem" arguments="{_all}" />
</f:for>
</f:widget.paginate>
</div>
</div>
<div class="col-md-4">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment