Waiting list: Redirect back after voucher edit (Z#23230178) (#6252)

This commit is contained in:
Raphael Michel
2026-07-27 23:19:10 +02:00
committed by GitHub
parent 1a7e36a144
commit d9f8679647
2 changed files with 4 additions and 1 deletions
@@ -251,7 +251,7 @@
</td>
<td>
{% if e.voucher %}
<a href="{% url "control:event.voucher" organizer=request.event.organizer.slug event=request.event.slug voucher=e.voucher.pk %}">
<a href="{% url "control:event.voucher" organizer=request.event.organizer.slug event=request.event.slug voucher=e.voucher.pk %}?next={{ request.get_full_path|urlencode }}">
{{ e.voucher }}
</a>
{% elif not e.voucher and e.availability.0 == 100 and e.availability.1|default_if_none:"none" != "none" %}