mirror of
https://gitea.mueller.network/extern/django-helpdesk.git
synced 2024-11-26 01:43:10 +01:00
django template syntax (as instead of =)
This commit is contained in:
parent
050a65e6df
commit
d9cb76d491
@ -46,7 +46,7 @@
|
||||
{% endif %}
|
||||
{% with ''|center:11 as 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 %}
|
||||
<li class="active"><span>{{ i }} <span class="sr-only">(current)</span></span></li>
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user