mirror of
https://github.com/django-helpdesk/django-helpdesk.git
synced 2024-12-13 18:31:10 +01:00
template language arithmatic
This commit is contained in:
parent
df6a8a3778
commit
b1914bad14
@ -50,7 +50,7 @@
|
||||
<!-- Page - 5 to page + 5 controls -->
|
||||
{% with ''|center:11 as range %}
|
||||
{% for _ in range %}
|
||||
{% with ticket_list.number+forloop.counter-5 as i %}
|
||||
{% with ticket_list.number|add:forloop.counter|sub:"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