2023-12-11 15:29:49 +01:00
|
|
|
- nav_bar_profile = controller.try(:nav_bar_profile) || :guest
|
|
|
|
- is_agent = [:user, :guest].exclude?(nav_bar_profile)
|
|
|
|
|
2022-09-08 15:47:05 +02:00
|
|
|
%ul.fr-footer__bottom-list
|
2023-12-11 15:29:49 +01:00
|
|
|
- if is_agent
|
|
|
|
%li.fr-footer__bottom-item
|
|
|
|
= link_to t("links.footer.doc.label"), DOC_URL, title: t("links.footer.doc.title"), class: "fr-footer__bottom-link", target: "_blank", rel: "noopener noreferrer"
|
|
|
|
%li.fr-footer__bottom-item
|
|
|
|
= link_to t("links.footer.vote_feature.label"), FEATURE_UPVOTE_URL, title: t("links.footer.vote_feature.title"), class: "fr-footer__bottom-link", target: "_blank", rel: "noopener noreferrer"
|
2022-09-08 15:47:05 +02:00
|
|
|
%li.fr-footer__bottom-item
|
2024-06-21 15:02:50 +02:00
|
|
|
= link_to t("links.footer.accessibilite.label"), ACCESSIBILITE_URL, class: "fr-footer__bottom-link", rel: "noopener noreferrer"
|
2022-09-08 15:47:05 +02:00
|
|
|
%li.fr-footer__bottom-item
|
2024-06-21 15:02:50 +02:00
|
|
|
= link_to t("links.footer.mentions_legales.label"), MENTIONS_LEGALES_URL, class: "fr-footer__bottom-link", rel: "noopener noreferrer"
|
2022-09-08 15:47:05 +02:00
|
|
|
%li.fr-footer__bottom-item
|
2024-06-21 15:48:32 +02:00
|
|
|
= link_to t("links.footer.cookies.label"), suivi_path, class: "fr-footer__bottom-link", hreflang: "fr"
|
2023-11-15 11:35:15 +01:00
|
|
|
%li.fr-footer__bottom-item
|
|
|
|
%button.fr-footer__bottom-link.fr-icon-theme-fill.fr-btn--icon-left{ aria: {controls: "fr-theme-modal" }, data: {'fr-opened': "false" } }
|
|
|
|
= t('links.footer.display_params')
|