Skip to content

Commit

Permalink
pagination spaces removed (#886)
Browse files Browse the repository at this point in the history
  • Loading branch information
AtmegaBuzz authored Jun 11, 2022
1 parent 7fb7aa2 commit 2c559d3
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions website/templates/list_view.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@ <h1 class="page-header">All {% if label %}{{ label }}{% endif %} issues{% if use
<div class="col-md-12">
<div class="text-center">
{% if page_obj.has_previous %}
<a href="?page=
{{ page_obj.previous_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
<a href="?page={{ page_obj.previous_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
class="btn btn-default">Prev</a>
{% endif %}
<span>Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}</span>
{% if page_obj.has_next %}
<a href="?page=
{{ page_obj.next_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
<a href="?page={{ page_obj.next_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
class="btn btn-default">Next</a>
{% endif %}
</div>
Expand All @@ -40,14 +38,12 @@ <h1 class="page-header">All {% if label %}{{ label }}{% endif %} issues{% if use
<div class="col-md-12">
<div class="text-center">
{% if page_obj.has_previous %}
<a href="?page=
{{ page_obj.previous_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
<a href="?page={{ page_obj.previous_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
class="btn btn-default">Prev</a>
{% endif %}
<span>Page {{ page_obj.number }} of {{ page_obj.paginator.num_pages }}</span>
{% if page_obj.has_next %}
<a href="?page=
{{ page_obj.next_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
<a href="?page={{ page_obj.next_page_number }}{% if user %}&user={{ user }}{% endif %}{% if label %}&label={{ label }}{% endif %}"
class="btn btn-default">Next</a>
{% endif %}
</div>
Expand Down

0 comments on commit 2c559d3

Please sign in to comment.