422990f664
fix(9.2.1): add nav to footer as it is a navigation area fix(8.9.1): sign_in, do not use %hr within %p which implicitely close the %p leading to an empty %p after that fix(9.2.1): sign in, missing %nav element
63 lines
2.8 KiB
Text
63 lines
2.8 KiB
Text
%footer.procedure-footer
|
|
.container
|
|
- service = procedure.service
|
|
- if service.present?
|
|
%nav{ 'aria-label': t('users.procedure_footer.aria_label', procedure_name: dossier.present? ? dossier.procedure.libelle : 'la procédure en ligne') }
|
|
.footer-row.footer-columns
|
|
.footer-column
|
|
%p.footer-header= I18n.t('users.procedure_footer.managed_by.header')
|
|
%ul
|
|
%li
|
|
= service.nom
|
|
%br
|
|
= service.organisme
|
|
%br
|
|
= string_to_html(service.adresse, wrapper_tag = 'span')
|
|
|
|
.footer-column
|
|
%p.footer-header= I18n.t('users.procedure_footer.contact.header')
|
|
%ul
|
|
%li
|
|
- if dossier.present? && dossier.messagerie_available?
|
|
= 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)
|
|
- else
|
|
= I18n.t('users.procedure_footer.contact.email.prefix')
|
|
= link_to service.email, "mailto:#{service.email}"
|
|
|
|
- if service.telephone.present?
|
|
%li
|
|
= I18n.t('users.procedure_footer.contact.phone.prefix')
|
|
= link_to service.telephone, service.telephone_url
|
|
|
|
%li
|
|
- horaires = "#{I18n.t('users.procedure_footer.contact.schedule.prefix')}#{formatted_horaires(service.horaires)}"
|
|
= simple_format(horaires, {}, wrapper_tag: 'span')
|
|
|
|
%li
|
|
= I18n.t('users.procedure_footer.contact.stats.prefix')
|
|
= link_to I18n.t('users.procedure_footer.contact.stats.cta'), statistiques_path(procedure.path)
|
|
|
|
|
|
- politiques = politiques_conservation_de_donnees(procedure)
|
|
- if politiques.present?
|
|
.footer-column
|
|
%p.footer-header= I18n.t('users.procedure_footer.legals.header')
|
|
%ul
|
|
- politiques.each do |politique|
|
|
%li= politique
|
|
- if procedure.deliberation.attached?
|
|
%li
|
|
= link_to url_for(procedure.deliberation), target: '_blank', rel: 'noopener' do
|
|
= I18n.t("users.procedure_footer.legals.terms")
|
|
- else
|
|
%li
|
|
= 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")
|
|
|
|
= render partial: 'users/general_footer_row', locals: { dossier: dossier }
|
|
|