Commit 61044043 by benjaoming

Merge pull request #199 from TomLottermann/master

Pagination is broken
parents db32a3e5 29a03a35
{% load i18n %} {% load i18n %}
{% if is_paginated %} {% if is_paginated %}
<div class="pagination"> <ul class="pagination">
<ul>
{% for pc in paginator.page_range %} {% for pc in paginator.page_range %}
<li class="{% if pc == page_obj.number %} active{% endif %}"><a href="?page={{ pc }}{% if appended_key %}&{{ appended_key }}={{ appended_value }}{% endif %}">{{ pc }}</a></li> <li class="{% if pc == page_obj.number %} active{% endif %}"><a href="?page={{ pc }}{% if appended_key %}&{{ appended_key }}={{ appended_value }}{% endif %}">{{ pc }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</div>
{% endif %} {% endif %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment