core: fix url being active in navbar

This commit is contained in:
Jens Langhammer 2018-12-11 15:30:15 +01:00
parent 26618afb5a
commit 2e2752c2e2
1 changed files with 1 additions and 1 deletions

View File

@ -49,7 +49,7 @@
</ul>
{% is_active_app 'passbook_admin' as is_admin %}
<ul class="nav navbar-nav navbar-primary {% if is_admin == 'active' %}persistent-secondary{% endif %}">
<li class="{% is_active 'passbook_core:overview' %}">
<li class="{% is_active_url 'passbook_core:overview' %}">
<a href="{% url 'passbook_core:overview' %}">{% trans 'Overview' %}</a>
</li>
<li class="{% is_active_app 'passbook_admin' %}">