mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 02:10:49 +01:00
add -5?
This commit is contained in:
parent
b1914bad14
commit
c854ff764a
@ -50,7 +50,7 @@
|
||||
<!-- Page - 5 to page + 5 controls -->
|
||||
{% with ''|center:11 as range %}
|
||||
{% for _ in range %}
|
||||
{% with ticket_list.number|add:forloop.counter|sub:"5" as i %}
|
||||
{% with ticket_list.number|add:forloop.counter|add:"-5" as i %}
|
||||
{% if ticket_list.number == i %}
|
||||
<li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
|
||||
{% else if ticket_list.pages%}
|
||||
|
Loading…
Reference in New Issue
Block a user