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
|
2019-11-20 21:01:48 +01:00
|
|
|
.footer-column
|
2022-04-25 17:38:30 +02:00
|
|
|
%p.footer-header= I18n.t('users.procedure_footer.managed_by.header')
|
2019-11-20 21:01:48 +01:00
|
|
|
%ul
|
|
|
|
%li
|
|
|
|
= service.nom
|
|
|
|
%br
|
|
|
|
= service.organisme
|
|
|
|
%br
|
|
|
|
= string_to_html(service.adresse, wrapper_tag = 'span')
|
2018-06-19 16:23:43 +02:00
|
|
|
|
2019-11-20 21:01:48 +01:00
|
|
|
.footer-column
|
2022-04-25 17:38:30 +02:00
|
|
|
%p.footer-header= I18n.t('users.procedure_footer.contact.header')
|
2019-11-20 21:01:48 +01:00
|
|
|
%ul
|
|
|
|
%li
|
|
|
|
- if dossier.present? && dossier.messagerie_available?
|
2022-04-25 17:38:30 +02:00
|
|
|
= I18n.t('users.procedure_footer.contact.in_app_mail.prefix')
|
|
|
|
= link_to I18n.t('users.procedure_footer.contact.in_app_mail.link'), messagerie_dossier_path(dossier)
|
2019-11-20 21:01:48 +01:00
|
|
|
- else
|
2022-04-25 17:38:30 +02:00
|
|
|
= I18n.t('users.procedure_footer.contact.email.prefix')
|
2019-11-20 21:01:48 +01:00
|
|
|
= link_to service.email, "mailto:#{service.email}"
|
2018-09-18 11:29:54 +02:00
|
|
|
|
2019-11-25 21:22:32 +01:00
|
|
|
- if service.telephone.present?
|
|
|
|
%li
|
2022-04-25 17:38:30 +02:00
|
|
|
= I18n.t('users.procedure_footer.contact.phone.prefix')
|
2019-11-25 21:22:32 +01:00
|
|
|
= link_to service.telephone, service.telephone_url
|
2018-06-19 16:23:43 +02:00
|
|
|
|
2019-11-25 21:22:32 +01:00
|
|
|
%li
|
2022-04-25 17:38:30 +02:00
|
|
|
- horaires = "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"
|
2019-11-25 21:22:32 +01:00
|
|
|
= simple_format(horaires, {}, wrapper_tag: 'span')
|
2019-06-20 09:58:53 +02:00
|
|
|
|
2021-06-02 12:47:53 +02:00
|
|
|
%li
|
2022-04-25 17:38:30 +02:00
|
|
|
= I18n.t('users.procedure_footer.contact.stats.prefix')
|
|
|
|
= link_to I18n.t('users.procedure_footer.contact.stats.cta'), statistiques_path(procedure.path)
|
2021-06-02 12:47: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-20 21:01:48 +01:00
|
|
|
.footer-column
|
2022-04-25 17:38:30 +02:00
|
|
|
%p.footer-header= I18n.t('users.procedure_footer.legals.header')
|
2019-11-20 21:01:48 +01:00
|
|
|
%ul
|
|
|
|
- politiques.each do |politique|
|
|
|
|
%li= politique
|
2022-04-22 16:05:51 +02:00
|
|
|
- if procedure.deliberation.attached?
|
|
|
|
%li
|
|
|
|
= link_to url_for(procedure.deliberation), target: '_blank', rel: 'noopener' do
|
2022-04-25 17:38:30 +02:00
|
|
|
= I18n.t("users.procedure_footer.legals.terms")
|
2022-04-22 16:05:51 +02:00
|
|
|
- else
|
|
|
|
%li
|
2022-04-25 17:38:30 +02:00
|
|
|
= link_to I18n.t("users.procedure_footer.legals.terms"), procedure.cadre_juridique, target: '_blank', rel: 'noopener'
|
|
|
|
|
|
|
|
- if procedure.lien_dpo.present?
|
|
|
|
%li
|
|
|
|
= link_to url_or_email_to_lien_dpo(procedure), target: '_blank', rel: 'noopener' do
|
|
|
|
= I18n.t("users.procedure_footer.legals.dpo")
|
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 }
|
|
|
|
|