Skip to content

Commit

Permalink
[TASK] Show pagination count
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminkott committed Jul 1, 2020
1 parent 90d1c5b commit f043818
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Resources/views/pagination/pagination.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
{% set labelNext = 'Next' %}

{% if pageCount > 1 %}
<nav>
<ul class="pagination justify-content-center">

<nav class="d-md-flex justify-content-md-between align-items-md-center">
<div class="mb-2 mb-md-0">Showing {{ firstItemNumber }} to {{ lastItemNumber }} of {{ totalCount }} entries</div>
<ul class="pagination">
{% if startPage > 1 %}
<li class="page-item">
<a class="page-link" href="{{ path(route, query|merge({(pageParameterName): 1})) }}">1</a>
Expand Down

0 comments on commit f043818

Please sign in to comment.