colour tweaks and pagination
This commit is contained in:
7
app/common/templates/pagination.html
Normal file
7
app/common/templates/pagination.html
Normal file
@@ -0,0 +1,7 @@
|
||||
{% if paginator.num_pages > 1 %}
|
||||
<div class="pagination">
|
||||
{% for i in paginator.page_range %}
|
||||
<a class="pagenum{% if i == page_obj.number %} currentpage{% endif %}" href="?page={{ i }}">{{ i }}</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user