Skip to content

Commit

Permalink
Merge pull request #42 from GoteoFoundation/feature/add_logout
Browse files Browse the repository at this point in the history
Add logout to header
  • Loading branch information
subiabre authored Oct 22, 2024
2 parents 982ce58 + bab2af4 commit b284feb
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions templates/base.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,11 @@
<body class="d-flex flex-column h-100">
<nav class="navbar">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="https://goteo.org"><img width="150" src="{{ asset("images/goteo-white.svg") }}" alt="Goteo"></a>
<a class="navbar-brand" href="https://goteo.org"><img width="150" src="{{ asset("images/goteo-white.svg") }}" alt="Goteo"></a>
<div class="nav navbar-right">
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
<a class="nav-link text-light" href="{{ path('app_logout') }}"> {{ "login.logout" | trans({}, "login") }}</a>
{% endif %}
</div>
</div>
</nav>
Expand Down

0 comments on commit b284feb

Please sign in to comment.