30 lines
973 B
Twig
30 lines
973 B
Twig
{% extends 'layout/base.html.twig' %}
|
|
|
|
{% set i18n_prefix = _self|i18n_prefix %}
|
|
|
|
{% block body %}
|
|
{% include 'components/layout/_title_3.html.twig' with {
|
|
name: (i18n_prefix ~ '.title')|trans
|
|
} %}
|
|
<div class="row px-3 pt-5">
|
|
{% include 'components/layout/_multiple_searchbar.html.twig' with {
|
|
label: (i18n_prefix ~ '.filterBy')|trans,
|
|
placeholder: (i18n_prefix ~ '.search')|trans,
|
|
margin: 'mx-auto',
|
|
form: form,
|
|
} %}
|
|
</div>
|
|
{% if pagination.count > 0 %}
|
|
{% include 'components/list/_conversations.html.twig' with {
|
|
pagination,
|
|
isMyLoans: false
|
|
} %}
|
|
{% else %}
|
|
<p class="text-center mt-5">{{ (i18n_prefix ~ '.no_result')|trans }}</p>
|
|
{% endif %}
|
|
<div class="d-grid col-8 mx-auto">
|
|
{% include 'components/layout/_pagination.html.twig' with {pagination} %}
|
|
</div>
|
|
{% endblock %}
|
|
|
|
{% block link %}{% endblock %}
|