Skip to content

Commit

Permalink
new naming
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Feb 21, 2018
1 parent 2c60a97 commit b3340e2
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -48,7 +48,7 @@
<div class="separator"></div>
{% for name, route in own.admin_part._sections %}
{% if acl(route) %}
{% if section == "section:" + name|lower|replace(" ", "_") %}
{% if section == "section:" + _section|lower|replace(" ", "_") + ":" + name|lower|replace(" ", "_") %}
<a class="selected" href="{{ url_for(route) }}">{{ name }}</a>
{% else %}
<a href="{{ url_for(route) }}">{{ name }}</a>
Expand Down

0 comments on commit b3340e2

Please sign in to comment.