core: fix url being active in navbar
This commit is contained in:
parent
26618afb5a
commit
2e2752c2e2
|
@ -49,7 +49,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
{% is_active_app 'passbook_admin' as is_admin %}
|
{% is_active_app 'passbook_admin' as is_admin %}
|
||||||
<ul class="nav navbar-nav navbar-primary {% if is_admin == 'active' %}persistent-secondary{% endif %}">
|
<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>
|
<a href="{% url 'passbook_core:overview' %}">{% trans 'Overview' %}</a>
|
||||||
</li>
|
</li>
|
||||||
<li class="{% is_active_app 'passbook_admin' %}">
|
<li class="{% is_active_app 'passbook_admin' %}">
|
||||||
|
|
Reference in New Issue