Commit d3b52cf7 by Thomas Lottermann

pagination broke with bootstrap 3. It now works again!

parent db32a3e5
{% 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