mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 13:41:51 +02:00
Fix active item
This commit is contained in:
parent
b984f2bd50
commit
f1ab597934
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@
|
|||
</li>
|
||||
{% endif %}
|
||||
{% if is_granted('ROLE_USER') %}
|
||||
<li class="nav-item {% if "articles" in app.request.attributes.get('schedule') %} active {% endif %}">
|
||||
<li class="nav-item {% if app.request.attributes.get('_route') == 'schedule' %}active {% endif %}">
|
||||
<a class="nav-link" href="{{ path('schedule') }}">{{ 'common.schedule'|trans }}</a>
|
||||
</li>
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue