forked from extern/django-helpdesk
django template syntax (as instead of =)
This commit is contained in:
parent
050a65e6df
commit
d9cb76d491
@ -46,7 +46,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% with ''|center:11 as range %}
|
{% with ''|center:11 as range %}
|
||||||
{% for _ in range %}
|
{% for _ in range %}
|
||||||
{% with i = ticket_list.number + (forloop.counter-5) %}
|
{% with (ticket_list.number + (forloop.counter-5)) as i %}
|
||||||
{% if ticket_list.number == i %}
|
{% if ticket_list.number == i %}
|
||||||
<li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
|
<li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
|
Loading…
Reference in New Issue
Block a user