Feature: [activity list] add pagination

This commit is contained in:
2023-06-23 12:44:54 +02:00
parent f7c11d3567
commit 0e5f1b4ab9
5 changed files with 74 additions and 8 deletions

View File

@@ -80,6 +80,8 @@
<div class="context-{{ context }}">
{{ filter|chill_render_filter_order_helper }}
{% if activities|length == 0 %}
<p class="chill-no-data-statement">
{{ "There isn't any activities."|trans }}
@@ -87,8 +89,6 @@
{% else %}
{{ filter|chill_render_filter_order_helper }}
<div class="flex-table activity-list">
{% for activity in activities %}
{% include 'ChillActivityBundle:Activity:_list_item.html.twig' with {
@@ -99,4 +99,6 @@
</div>
{% endif %}
{{ chill_pagination(paginator) }}
</div>