demarches-normaliennes/app/views/new_user/dossiers/_footer.html.haml
2018-06-19 16:27:53 +02:00

39 lines
1.4 KiB
Text
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

%footer.dossier-footer
.container
%ul.footer-columns
- service = dossier.procedure.service
- if service.present?
%li.footer-column
%h3.footer-header Cette démarche est gérée par :
%p
= service.nom
%br
= service.organisme
%br
= string_to_html(service.adresse)
%li.footer-column
%h3.footer-header Poser une question sur votre dossier :
%p
- if dossier.brouillon?
Par email :
= link_to service.email, "mailto:#{service.email}"
- else
Directement
= link_to "par la messagerie", users_dossier_recapitulatif_path(dossier)
%p
Par téléphone :
%a{ href: "tel:#{service.telephone}" }= service.telephone
%p
Horaires : #{ service.horaires.sub(/\S/, &:downcase) }
.footer-bottom-line
= link_to "Accessibilité", accessibilite_index_path, :class => "footer-link"
= link_to "CGU", CGU_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
= link_to "Mentions légales", MENTIONS_LEGALES_URL, :class => "footer-link", :target => "_blank", rel: "noopener noreferrer"
= link_to "Contact technique", "mailto:#{CONTACT_EMAIL}", :class => "footer-link"