Nevar pievienot vairāk kā 25 tēmas
Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
|
- {# @var ea \EasyCorp\Bundle\EasyAdminBundle\Context\AdminContext #}
- {# @var paginator \EasyCorp\Bundle\EasyAdminBundle\Orm\EntityPaginator #}
- {% trans_default_domain 'EasyAdminBundle' %}
-
- <p class="m-0 text-muted">
- {{ 'paginator.results'|trans({'%count%': paginator.numResults})|raw }}
- </p>
- <ul class="pagination m-0 ms-auto">
- <li class="page-item {{ not paginator.hasPreviousPage ? 'disabled' }}">
- <a class="page-link" href="{{ not paginator.hasPreviousPage ? '#' : paginator.generateUrlForPage(paginator.previousPage) }}" {{ not paginator.hasPreviousPage ? 'aria-disabled="true"' }}>
- <i class="ti ti-arrow-left"></i> <span class="btn-label">{{ 'paginator.previous'|trans }}</span>
- </a>
- </li>
-
- {% for page in paginator.pageRange %}
- <li class="page-item {{ page == paginator.currentPage ? 'active' }} {{ page is null ? 'disabled' }}">
- {% if page is null %}
- <span class="page-link">…</span>
- {% else %}
- <a class="page-link" href="{{ paginator.generateUrlForPage(page) }}">{{ page }}</a>
- {% endif %}
- </li>
- {% endfor %}
-
- <li class="page-item {{ not paginator.hasNextPage ? 'disabled' }}">
- <a class="page-link" href="{{ not paginator.hasNextPage ? '#' : paginator.generateUrlForPage(paginator.nextPage) }}" {{ not paginator.hasNextPage ? 'aria-disabled="true"' }}>
- <span class="btn-label">{{ 'paginator.next'|trans }}</span> <i class="ti ti-arrow-right"></i>
- </a>
- </li>
- </ul>
|