demarches-normaliennes/app/views/layouts/mailers/_service_footer.html.haml
2023-01-26 17:41:02 +01:00

31 lines
1.3 KiB
Text

%strong
= t('.do_not_reply')
- if dossier.present? && dossier.messagerie_available?
= t('.contact_admin')
= succeed '.' do
= 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
%strong
= t('.procedure_management')
= service.nom
= service.organisme
= service.adresse
%td{ width: "50%", valign: "top" }
%p
%strong
= t('.ask_question')
%br
- if dossier.present? && dossier.messagerie_available?
= link_to t('.by_messagerie'), messagerie_dossier_url(dossier), target: '_blank', rel: 'noopener'
- else
= t('.by_email')
= link_to service.email, "mailto:#{service.email}"
- if service.telephone_url.present?
%br= t('.by_phone')
= link_to service.telephone, service.telephone_url
%br= "#{t('.schedule')} #{ formatted_horaires(service.horaires) }"