Highlight voucher nav element when in detail view (#524)

This commit is contained in:
Tobias Kunze
2017-06-18 18:31:02 +02:00
committed by Raphael Michel
parent f7de2ead40
commit 965424799d

View File

@@ -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>