demarches-normaliennes/app/views/layouts/mailers/_service_footer.html.haml

35 lines
1.3 KiB
Text
Raw Normal View History

%strong
2022-05-12 16:42:00 +02:00
= t('.do_not_reply')
- if dossier.present? && dossier.messagerie_available?
2022-05-12 16:42:00 +02:00
= t('.contact_admin')
= succeed '.' do
2022-05-12 16:42:00 +02:00
= link_to t('.file_messagerie'), messagerie_dossier_url(dossier), target: '_blank', rel: 'noopener'
- if service.present?
%table{ width: "100%", border: "0", cellspacing: "0", cellpadding: "0", style: "cursor:auto;color:#55575d;font-family:Helvetica, Arial, sans-serif;font-size:11px;line-height:22px;text-align:left;" }
%tr
%td{ width: "50%", valign: "top" }
%p
2022-05-12 16:42:00 +02:00
%strong
= t('.procedure_management')
%br
= service.nom
%br
= service.organisme
%br
= service.adresse
%td{ width: "50%", valign: "top" }
%p
2022-05-12 16:42:00 +02:00
%strong
= t('.ask_question')
%br
- if dossier.present? && dossier.messagerie_available?
2022-05-12 16:42:00 +02:00
= link_to t('.by_messagerie'), messagerie_dossier_url(dossier), target: '_blank', rel: 'noopener'
- else
2022-05-12 16:42:00 +02:00
= t('.by_email')
= link_to service.email, "mailto:#{service.email}"
2019-12-12 15:57:47 +01:00
- if service.telephone_url.present?
2022-05-12 16:42:00 +02:00
%br= t('.by_phone')
2019-12-12 15:57:47 +01:00
= link_to service.telephone, service.telephone_url
2022-05-12 16:42:00 +02:00
%br= "#{t('.schedule')} #{ formatted_horaires(service.horaires) }"