Skip to content

Commit

Permalink
add ressources menu
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Nov 15, 2023
1 parent 0d01e4c commit 2a95905
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
1 change: 1 addition & 0 deletions config/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -223,6 +223,7 @@
WAGTAILMENUS_FLAT_MENUS_HANDLE_CHOICES = (
("header_tools", "Menu en haut à droite"),
("footer", "Menu en pied de page"),
("footer_ressources", "Menu Ressources du pied de page"),
)

WAGTAILEMBEDS_FINDERS = [
Expand Down
12 changes: 8 additions & 4 deletions templates/blocks/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,22 +52,26 @@ <h2 class="fr-h5">
<div class="fr-footer__top">
<div class="fr-container">
<div class="fr-grid-row fr-grid-row--start fr-grid-row--gutters">
<div class="fr-col-12 fr-col-sm-3 fr-col-md-2">
<div class="fr-col-12 fr-col-sm-2 fr-col-md-2">
<h3 class="fr-footer__top-cat">Pages internes</h3>
{% main_menu template="menus/footer_menu.html" %}
</div>
<div class="fr-col-12 fr-col-sm-3 fr-col-md-2">
<div class="fr-col-12 fr-col-sm-2 fr-col-md-2">
<h3 class="fr-footer__top-cat">Ressources</h3>
{% flat_menu handle="footer_ressources" template="menus/footer_menu.html" %}
</div>
<div class="fr-col-12 fr-col-sm-2 fr-col-md-2">
<h3 class="fr-footer__top-cat">Liens externes</h3>
{% flat_menu handle="header_tools" template="menus/footer_menu.html" %}
</div>
<div class="fr-col-12 fr-col-sm-6 fr-col-md-8">
<div class="fr-col-12 fr-col-sm-6 fr-col-md-6">
<div class="fr-grid-row">
<div class="fr-col-12 fr-col-md-4">
<h3 class="fr-footer__top-cat">Nos services numériques</h3>
</div>
</div>
<div class="fr-grid-row">
<div class="fr-col-12 fr-col-md-3">
<div class="fr-col-12 fr-col-md-4">
<ul class="fr-footer__top-list">
{% services as active_services %}
{% for service in active_services %}
Expand Down

0 comments on commit 2a95905

Please sign in to comment.