mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-22 16:03:19 +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