show footer for agent
This commit is contained in:
parent
d7a8430201
commit
7e3c47f5cf
3 changed files with 14 additions and 0 deletions
|
@ -1,4 +1,12 @@
|
||||||
|
- nav_bar_profile = controller.try(:nav_bar_profile) || :guest
|
||||||
|
- is_agent = [:user, :guest].exclude?(nav_bar_profile)
|
||||||
|
|
||||||
%ul.fr-footer__bottom-list
|
%ul.fr-footer__bottom-list
|
||||||
|
- 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"
|
||||||
%li.fr-footer__bottom-item
|
%li.fr-footer__bottom-item
|
||||||
= link_to t("links.footer.accessibilite.label"), ACCESSIBILITE_URL, title: t("links.footer.accessibilite.title"), class: "fr-footer__bottom-link", rel: "noopener noreferrer"
|
= link_to t("links.footer.accessibilite.label"), ACCESSIBILITE_URL, title: t("links.footer.accessibilite.title"), class: "fr-footer__bottom-link", rel: "noopener noreferrer"
|
||||||
%li.fr-footer__bottom-item
|
%li.fr-footer__bottom-item
|
||||||
|
|
|
@ -50,6 +50,9 @@ en:
|
||||||
label: "Documentation"
|
label: "Documentation"
|
||||||
title: "Our Documentation"
|
title: "Our Documentation"
|
||||||
url: "https://doc.demarches-simplifiees.fr"
|
url: "https://doc.demarches-simplifiees.fr"
|
||||||
|
vote_feature:
|
||||||
|
label: "Improve the site"
|
||||||
|
title: "Vote for your priority improvements or share your own ideas"
|
||||||
mentions_legales:
|
mentions_legales:
|
||||||
label: "Legal notices"
|
label: "Legal notices"
|
||||||
title: "Legal notices regarding our platform"
|
title: "Legal notices regarding our platform"
|
||||||
|
|
|
@ -55,6 +55,9 @@ fr:
|
||||||
label: "Documentation"
|
label: "Documentation"
|
||||||
title: "Documentation utilisateur"
|
title: "Documentation utilisateur"
|
||||||
url: "https://doc.demarches-simplifiees.fr"
|
url: "https://doc.demarches-simplifiees.fr"
|
||||||
|
vote_feature:
|
||||||
|
label: "Améliorer le site"
|
||||||
|
title: "Votez pour vos améliorations prioritaires ou proposez votre propre idée"
|
||||||
mentions_legales:
|
mentions_legales:
|
||||||
label: "Mentions légales"
|
label: "Mentions légales"
|
||||||
title: "Consulter nos Mentions légales"
|
title: "Consulter nos Mentions légales"
|
||||||
|
|
Loading…
Reference in a new issue