Skip to content

Commit

Permalink
Merge pull request #1009 from betagouv/feature/no-footer-when-loggedin
Browse files Browse the repository at this point in the history
Ne pas afficher le footer pour les usagers connectés
  • Loading branch information
glibersat authored Feb 10, 2025
2 parents d814dfe + 42a71ac commit bc0dc5c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions recoco/templates/default_site/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -119,8 +119,10 @@ <h1 class="visually-hidden">{{ request.site.name }}</h1>
{% block content %}
{% endblock content %}
</div>
{% if url_name != "projects-project-detail-recommandations-embed" %}
<div class="row justify-content-center" id="footer">{% include "footer.html" %}</div>
{% if not request.user.is_authenticated %}
{% if url_name != "projects-project-detail-recommandations-embed" %}
<div class="row justify-content-center" id="footer">{% include "footer.html" %}</div>
{% endif %}
{% endif %}
</div>
</main>
Expand Down

0 comments on commit bc0dc5c

Please sign in to comment.