Browse Source

Fix ellipsis in pagination template

pull/6/head
Marcio Mazza 10 years ago
parent
commit
7b1c643d69
  1. 8
      templates/comissoes/comissao_list.html

8
templates/comissoes/comissao_list.html

@ -44,9 +44,13 @@
{% endif %} {% endif %}
{% for page in custom_page_range %} {% for page in custom_page_range %}
<li {% if page == page_obj.number %}class="active current"{% endif %}> {% if page %}
<a href="?page={{ page }}">{% if page %}{{ page }}{% else %}&hellip;{% endif %}</a> <li {% if page == page_obj.number %}class="current"{% endif %}>
<a href="?page={{ page }}">{{ page }}</a>
</li> </li>
{% else %}
<li class="unavailable"><a href="">&hellip;</a></li>
{% endif %}
{% endfor %} {% endfor %}
{% if page_obj.has_next %} {% if page_obj.has_next %}

Loading…
Cancel
Save