diff --git a/helpdesk/templates/helpdesk/include/tickets.html b/helpdesk/templates/helpdesk/include/tickets.html index b0fadca9..9ba3af96 100644 --- a/helpdesk/templates/helpdesk/include/tickets.html +++ b/helpdesk/templates/helpdesk/include/tickets.html @@ -52,7 +52,7 @@ {% for i in ticket_list.paginator.page_range %} {% if ticket_list.number == i %}
  • {{ i }} (current)
  • - {% else if i <= ticket_list.number|add:5 and i >= ticket_list.number|-5 %} + {% elif i <= ticket_list.number|add:5 and i >= ticket_list.number|-5 %}
  • {{ i }}
  • {% endif %} {% endfor %}