diff --git a/templates/user/layout/members.html.twig b/templates/user/layout/members.html.twig index c6adae9..c1ec273 100644 --- a/templates/user/layout/members.html.twig +++ b/templates/user/layout/members.html.twig @@ -29,11 +29,14 @@ 'Home': 'member_home', 'Gegevens': 'member_details', 'Documenten': 'member_documents', + 'Ledenbeheer': 'admin_dashboard', 'Uitloggen': 'logout' } %} - - {{ text }} - + + {% if route != "admin_dashboard" or ( route == "admin_dashboard" and (is_granted("ROLE_ADMIN") or is_granted("ROLE_DIVISION_CONTACT")) ) %} + {{ text }} + {% endif %} + {% endfor %}