2018-12-17 15:49:59 +01:00
|
|
|
|
%footer.procedure-footer
|
2018-06-19 16:23:43 +02:00
|
|
|
|
.container
|
2018-12-17 16:03:11 +01:00
|
|
|
|
- service = procedure.service
|
2018-09-11 16:02:09 +02:00
|
|
|
|
- if service.present?
|
2019-11-06 16:38:52 +01:00
|
|
|
|
.footer-row.footer-columns
|
|
|
|
|
%ul.footer-column
|
2019-11-06 16:37:03 +01:00
|
|
|
|
%p.footer-header Cette démarche est gérée par :
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%li
|
2018-06-19 16:23:43 +02:00
|
|
|
|
= service.nom
|
|
|
|
|
%br
|
|
|
|
|
= service.organisme
|
|
|
|
|
%br
|
2019-11-06 16:30:20 +01:00
|
|
|
|
= string_to_html(service.adresse, wrapper_tag = 'span')
|
2018-06-19 16:23:43 +02:00
|
|
|
|
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%ul.footer-column
|
2019-11-06 16:37:03 +01:00
|
|
|
|
%p.footer-header Poser une question sur votre dossier :
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%li
|
2019-03-12 15:41:47 +01:00
|
|
|
|
- if dossier.present? && dossier.messagerie_available?
|
2018-06-19 16:23:43 +02:00
|
|
|
|
Directement
|
2018-10-02 12:23:53 +02:00
|
|
|
|
= link_to "par la messagerie", messagerie_dossier_path(dossier)
|
2018-12-17 16:03:11 +01:00
|
|
|
|
- else
|
|
|
|
|
Par email :
|
|
|
|
|
= link_to service.email, "mailto:#{service.email}"
|
2018-09-18 11:29:54 +02:00
|
|
|
|
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%li
|
2018-06-19 16:23:43 +02:00
|
|
|
|
Par téléphone :
|
|
|
|
|
%a{ href: "tel:#{service.telephone}" }= service.telephone
|
|
|
|
|
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%li
|
2019-06-20 09:58:53 +02:00
|
|
|
|
- horaires = "Horaires : #{formatted_horaires(service.horaires)}"
|
2019-11-06 16:30:20 +01:00
|
|
|
|
= simple_format(horaires, {}, wrapper_tag: 'span')
|
2019-06-20 09:58:53 +02:00
|
|
|
|
|
2018-06-19 16:23:43 +02:00
|
|
|
|
|
2018-12-17 16:03:11 +01:00
|
|
|
|
- politiques = politiques_conservation_de_donnees(procedure)
|
2018-09-11 16:02:09 +02:00
|
|
|
|
- if politiques.present?
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%ul.footer-column
|
2019-11-06 16:37:03 +01:00
|
|
|
|
%p.footer-header Conservation des données :
|
2018-09-11 16:02:09 +02:00
|
|
|
|
- politiques.each do |politique|
|
2019-11-06 16:38:52 +01:00
|
|
|
|
%li= politique
|
2018-08-30 16:31:00 +02:00
|
|
|
|
|
2019-11-06 14:56:49 +01:00
|
|
|
|
= render partial: 'users/general_footer_row', locals: { dossier: dossier }
|
|
|
|
|
|