File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 33{% block title %}Auctions | {{ title }} {% endblock %}
44
55{% block categories %}
6+
67 <!-- Divider -->
78 < hr class ='sidebar-divider '>
89
@@ -84,6 +85,7 @@ <h5 class='fw-bolder'>{{ auction.title }}</h5>
8485 {% if pages.has_other_pages %}
8586 < div class ='d-flex justify-content-center '>
8687 < ul class ='pagination '>
88+
8789 {% if pages.has_previous %}
8890 < li class ='page-item '>
8991 < a class ='page-link ' href ='?page={{ pages.previous_page_number }} '>
@@ -95,6 +97,7 @@ <h5 class='fw-bolder'>{{ auction.title }}</h5>
9597 < a class ='page-link ' href ='# '> «</ a >
9698 </ li >
9799 {% endif %}
100+
98101 {% for i in pages.paginator.page_range %}
99102 {% if pages.number == i %}
100103 < li class ='page-item active '>
@@ -106,6 +109,7 @@ <h5 class='fw-bolder'>{{ auction.title }}</h5>
106109 </ li >
107110 {% endif %}
108111 {% endfor %}
112+
109113 {% if pages.has_next %}
110114 < li class ='page-item '>
111115 < a class ='page-link ' href ='?page={{ pages.next_page_number }} '>
@@ -117,11 +121,13 @@ <h5 class='fw-bolder'>{{ auction.title }}</h5>
117121 < a class ='page-link ' href ='# '> »</ a >
118122 </ li >
119123 {% endif %}
124+
120125 </ ul >
121126 </ div >
122127 {% endif %}
128+
123129 </ div >
124130 </ div >
125131 </ div >
126132
127- {% endblock %}
133+ {% endblock %}
You can’t perform that action at this time.
0 commit comments