2022-09-08 15:47:05 +02:00
|
|
|
%footer.fr-footer#footer{ role: "contentinfo" }
|
|
|
|
- service = procedure.service
|
|
|
|
.fr-footer__top
|
|
|
|
.fr-container
|
|
|
|
.fr-grid-row.fr-grid-row--start.fr-grid-row--gutters
|
|
|
|
.fr-col-12.fr-col-sm-4.fr-col-md-4
|
|
|
|
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.contact.header')
|
|
|
|
%ul.fr-footer__top-list
|
|
|
|
- if dossier.present? && dossier.messagerie_available?
|
2021-06-02 12:47:53 +02:00
|
|
|
%li
|
2022-09-08 15:47:05 +02:00
|
|
|
= link_to I18n.t('users.procedure_footer.contact.in_app_mail.link'), messagerie_dossier_path(dossier), class: 'fr-footer__top-link'
|
|
|
|
- elsif service.present?
|
2022-05-30 16:50:45 +02:00
|
|
|
%li
|
2022-09-08 15:47:05 +02:00
|
|
|
= link_to I18n.t('users.procedure_footer.contact.email.link', service_email: service.email), "mailto:#{service.email}", class: 'fr-footer__top-link'
|
2023-02-22 11:00:32 +01:00
|
|
|
- if service.telephone.present? || service.horaires.present?
|
|
|
|
%li
|
|
|
|
- horaires = "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"
|
|
|
|
- if service.telephone.present?
|
|
|
|
= link_to service.telephone_url, class: 'fr-footer__top-link' do
|
|
|
|
%p
|
|
|
|
= I18n.t('users.procedure_footer.contact.phone.link', service_telephone: service.telephone)
|
2023-02-22 11:19:24 +01:00
|
|
|
- if service.horaires.present?
|
|
|
|
%p
|
|
|
|
= horaires
|
2022-09-08 15:47:05 +02:00
|
|
|
%li
|
|
|
|
= link_to I18n.t('users.procedure_footer.contact.stats.link'), statistiques_path(procedure.path), class: 'fr-footer__top-link', rel: 'noopener'
|
2022-05-30 16:50:45 +02:00
|
|
|
|
2022-09-08 15:47:05 +02:00
|
|
|
|
|
|
|
- politiques = politiques_conservation_de_donnees(procedure)
|
|
|
|
- if politiques.present?
|
|
|
|
.fr-col-12.fr-col-sm-4.fr-col-md-4
|
|
|
|
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.legals.header')
|
|
|
|
%ul.fr-footer__top-list
|
|
|
|
- politiques.each do |politique|
|
|
|
|
%li
|
|
|
|
= link_to t("users.procedure_footer.legals.data_retention_url"), class: "fr-footer__top-link" do
|
|
|
|
= politique
|
|
|
|
- if procedure.deliberation.attached?
|
2022-04-22 16:05:51 +02:00
|
|
|
%li
|
2022-09-08 15:47:05 +02:00
|
|
|
= link_to url_for(procedure.deliberation), rel: 'noopener', class: 'fr-footer__top-link' do
|
|
|
|
= I18n.t("users.procedure_footer.legals.terms")
|
|
|
|
- else
|
|
|
|
%li
|
|
|
|
= link_to I18n.t("users.procedure_footer.legals.terms"), procedure.cadre_juridique, rel: 'noopener', class: 'fr-footer__top-link'
|
2022-04-25 17:38:30 +02:00
|
|
|
|
2022-09-08 15:47:05 +02:00
|
|
|
- if procedure.lien_dpo.present?
|
2022-04-25 17:38:30 +02:00
|
|
|
%li
|
2022-09-08 15:47:05 +02:00
|
|
|
= link_to url_or_email_to_lien_dpo(procedure), rel: 'noopener', class: 'fr-footer__top-link' do
|
|
|
|
= I18n.t("users.procedure_footer.legals.dpo")
|
|
|
|
|
|
|
|
|
|
|
|
.fr-col-12.fr-col-sm-4.fr-col-md-4
|
|
|
|
%h3.fr-footer__top-cat= I18n.t('users.procedure_footer.dematerialisation.header')
|
|
|
|
%ul.fr-footer__top-list
|
|
|
|
%li
|
2022-12-01 13:29:08 +01:00
|
|
|
= link_to t('users.procedure_footer.dematerialisation.title_1'), commencer_dossier_vide_for_revision_path(procedure.active_revision), rel: 'noopener', class: 'fr-footer__top-link'
|
2022-09-08 15:47:05 +02:00
|
|
|
%li
|
|
|
|
= link_to t('users.procedure_footer.dematerialisation.title_2'),t('users.procedure_footer.dematerialisation.link'), rel: 'noopener', class: 'fr-footer__top-link'
|
|
|
|
|
|
|
|
.fr-container
|
|
|
|
.fr-footer__body
|
|
|
|
.fr-footer__brand.fr-enlarge-link
|
2022-12-01 15:33:54 +01:00
|
|
|
= link_to t("links.provider.url"), title: t("links.provider.title") do
|
2022-09-08 15:47:05 +02:00
|
|
|
%p.fr-logo
|
|
|
|
premier
|
|
|
|
%br
|
|
|
|
ministre
|
|
|
|
|
|
|
|
- if service.present?
|
|
|
|
.fr-footer__content
|
2023-02-22 09:29:40 +01:00
|
|
|
|
2022-09-08 15:47:05 +02:00
|
|
|
%p.fr-footer__content-desc
|
|
|
|
= I18n.t('users.procedure_footer.managed_by.header')
|
2023-02-22 09:29:40 +01:00
|
|
|
%span{ lang: :fr }= "#{service.nom}, #{service.organisme},"
|
|
|
|
%div{ lang: :fr }
|
|
|
|
= render SimpleFormatComponent.new(service.adresse, class_names_map: {paragraph: 'fr-footer__content-desc'})
|
|
|
|
= render partial: "shared/footer_content_list"
|
2019-11-06 14:56:49 +01:00
|
|
|
|
2022-09-08 15:47:05 +02:00
|
|
|
.fr-footer__bottom
|
|
|
|
= render partial: 'users/general_footer_row', locals: { dossier: dossier }
|
2022-10-03 13:43:29 +02:00
|
|
|
= render partial: 'shared/footer_copy'
|