diff --git a/templates/_header.html.twig b/templates/_header.html.twig index f439c42..e6e35f6 100644 --- a/templates/_header.html.twig +++ b/templates/_header.html.twig @@ -1,8 +1,7 @@ -xxxx - - + + @@ -12,146 +11,45 @@ xxxx - - tracer + {{ app.user.username }} - - + {% if is_granted('ROLE_USER') %} + + Profile Settings - - - Administration - - + {% if is_granted('ROLE_ADMIN') %} + + + Administration + + + {% endif %} - + Logout + {% else %} + + + Login + + + {% endif %} + -yyyy - - - - - Navbar - - - - - - - - Home (current) - - - Link - - - - Dropdown - - - Action - Another action - - Something else here - - - - Disabled - - - - - Search - - - - - - - \ No newline at end of file