Skip to content
Snippets Groups Projects
Verified Commit d70357e8 authored by nd's avatar nd
Browse files

fix navbar highlight for non linked endpoints

parent c381e3fc
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ ...@@ -29,7 +29,7 @@
</a> </a>
{%- endmacro %} {%- endmacro %}
{% macro navbaricon(data) -%} {% macro navbaricon(data) -%}
<li class="nav-item {% if data.endpoint == request.endpoint %} active{% endif %}"> <li class="nav-item {% if data.endpoint == request.endpoint or data.blueprint.name|d(None) == request.blueprint%} active{% endif %}">
{{ navbarlink(data) }} {{ navbarlink(data) }}
</li> </li>
{%- endmacro %} {%- endmacro %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment