Skip to content

Commit

Permalink
removed legend-block, added css classes
Browse files Browse the repository at this point in the history
  • Loading branch information
d.choban committed Mar 5, 2018
1 parent 8d59f79 commit 095c9f0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions arctic/templates/arctic/partials/pagination.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,15 @@
{% if paginator.num_pages > 1 or paginator.num_pages == -1 %}
<div class="row paginator-block">
{% if show_legend %}
{% block pagination_legend %}
<div class="col col-auto">
<div class="col col-auto pagination-legend">
<div class="pagination-info">
{% with start=page_obj.start_index end=page_obj.end_index count=paginator.count %}
{{ start }} &ndash; {{ end }}{% if count != -1 %} {% trans 'of' %} {{ count }}{% endif %}
{% endwith %}
</div>
</div>
{% endblock %}
{% endif %}
<div class="col col-auto">
<div class="col col-auto pagination-navigation">
<ul class="pagination" role="navigation" aria-label="{% trans "Pagination" %}">
{% if show_first_last %}
{% if page_obj.has_previous %}
Expand Down

0 comments on commit 095c9f0

Please sign in to comment.