mirror of
https://github.com/pretix/pretix.git
synced 2026-05-05 15:14:04 +00:00
Highlight voucher nav element when in detail view (#524)
This commit is contained in:
committed by
Raphael Michel
parent
f7de2ead40
commit
965424799d
@@ -103,7 +103,7 @@
|
||||
{% if 'can_view_vouchers' in request.eventpermset %}
|
||||
<li>
|
||||
<a href="{% url 'control:event.vouchers' organizer=request.event.organizer.slug event=request.event.slug %}"
|
||||
{% if url_name == "event.vouchers" %}class="active"{% endif %}>
|
||||
{% if url_name == "event.voucher" %}class="active"{% endif %}>
|
||||
<i class="fa fa-tags fa-fw"></i>
|
||||
{% trans "Vouchers" %}
|
||||
</a>
|
||||
|
||||
Reference in New Issue
Block a user