Add mimbership pagination
This commit is contained in:
@@ -31,6 +31,51 @@
|
|||||||
{% include "partials/person_card.html" %}
|
{% include "partials/person_card.html" %}
|
||||||
{%- endfor %}
|
{%- endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
<hr class="mt-6" />
|
||||||
|
<p class="text-center text-sm mt-2 mb-16">
|
||||||
|
{% if paginator.previous %}
|
||||||
|
<a
|
||||||
|
class="border-transparent"
|
||||||
|
aria-label="First page"
|
||||||
|
href="{{ paginator.first }}"
|
||||||
|
>{% include "partials/icons/svgPrevPageIcon.html" %}{% include
|
||||||
|
"partials/icons/svgPrevPageIcon.html" %}</a
|
||||||
|
>
|
||||||
|
|
||||||
|
<a
|
||||||
|
class="border-transparent"
|
||||||
|
aria-label="Previous page"
|
||||||
|
href="{{ paginator.previous }}"
|
||||||
|
>{% include "partials/icons/svgPrevPageIcon.html" %}</a
|
||||||
|
>
|
||||||
|
|
||||||
|
{% else %} {%
|
||||||
|
include "partials/icons/svgFirstPageIcon.html" %}{% include
|
||||||
|
"partials/icons/svgFirstPageIcon.html" %}
|
||||||
|
{% include
|
||||||
|
"partials/icons/svgFirstPageIcon.html" %}
|
||||||
|
|
||||||
|
{% endif %} {% if
|
||||||
|
paginator.next %}
|
||||||
|
<a
|
||||||
|
class="border-transparent"
|
||||||
|
aria-label="Next page"
|
||||||
|
href="{{ paginator.next }}"
|
||||||
|
>{% include "partials/icons/svgNextPageIcon.html" %}</a
|
||||||
|
>
|
||||||
|
|
||||||
|
<a
|
||||||
|
class="border-transparent"
|
||||||
|
aria-label="Last page"
|
||||||
|
href="{{ paginator.last }}"
|
||||||
|
>{% include "partials/icons/svgNextPageIcon.html" %}{% include
|
||||||
|
"partials/icons/svgNextPageIcon.html" %}</a
|
||||||
|
>
|
||||||
|
{% else %} {% include "partials/icons/svgLastPageIcon.html" %}
|
||||||
|
{% include
|
||||||
|
"partials/icons/svgLastPageIcon.html" %}{% include
|
||||||
|
"partials/icons/svgLastPageIcon.html" %} {% endif %}
|
||||||
|
</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user