Commit d3b52cf7 by Thomas Lottermann

pagination broke with bootstrap 3. It now works again!

parent db32a3e5
{% load i18n %}
{% if is_paginated %}
<div class="pagination">
<ul>
{% 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>
{% endfor %}
</ul>
</div>
<ul class="pagination">
{% 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>
{% endfor %}
</ul>
{% 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