-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #41 from betagouv/sreuiller/dynamic-footer-menu
Dynamisation des menus en haut à droite et en pied page
- Loading branch information
Showing
5 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,6 @@ | ||
{% extends "dsfr/footer.html" %} | ||
{% load menu_tags %} | ||
|
||
{% block footer_links %} | ||
{{ block.super }} | ||
<li class="fr-footer__bottom-item"> | ||
<button class="fr-btn--display fr-btn" aria-controls="fr-theme-modal" data-fr-opened="false">Paramètres d'affichage</button> | ||
</li> | ||
{% flat_menu handle="footer" template="menus/custom_flat_menu_footer.html" %} | ||
{% endblock footer_links %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{% load menu_tags %} | ||
{% for item in menu_items %} | ||
<li> | ||
<a href="{{ item.href }}" | ||
class="fr-btn" | ||
{% if item.active_class %} aria-current="page"{% endif %} | ||
target="_self">{{ item.text }}</a> | ||
</li> | ||
{% endfor %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% for item in menu_items %} | ||
<li class="fr-footer__bottom-item"> | ||
<a href="{{ item.href }}" | ||
class="fr-footer__bottom-link" | ||
{% if item.active_class %} aria-current="page"{% endif %} | ||
target="_self">{{ item.text }}</a> | ||
</li> | ||
{% endfor %} |