2019-03-14 16:15:55 +01:00
|
|
|
|
- if @logo_url.present?
|
2019-03-14 16:01:30 +01:00
|
|
|
|
- content_for :procedure_logo do
|
|
|
|
|
%table{ width: "100%", border: "0", cellspacing: "0", cellpadding: "0" }
|
|
|
|
|
%tr
|
|
|
|
|
%td{ align: "center" }
|
2019-03-21 15:39:37 +01:00
|
|
|
|
= image_tag @logo_url, height: "150", style: "display:block; max-height: 150px; max-width: 150px;"
|
2019-03-14 16:01:30 +01:00
|
|
|
|
|
2018-12-20 09:49:14 +01:00
|
|
|
|
- content_for :footer do
|
|
|
|
|
%strong
|
2019-07-17 14:12:57 +02:00
|
|
|
|
Merci de ne pas répondre à cet email.
|
|
|
|
|
- if @dossier.present? && @dossier.messagerie_available?
|
2019-07-17 16:49:40 +02:00
|
|
|
|
Pour vous adresser à votre administration, passez directement par la
|
2019-07-17 14:12:57 +02:00
|
|
|
|
= succeed '.' do
|
2019-07-17 16:49:40 +02:00
|
|
|
|
= link_to 'messagerie du dossier', messagerie_dossier_url(@dossier), target: '_blank', rel: 'noopener'
|
2018-09-05 15:25:47 +02:00
|
|
|
|
|
2019-03-21 15:39:37 +01:00
|
|
|
|
- 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 Cette démarche est gérée par :
|
|
|
|
|
%br
|
|
|
|
|
= @service.nom
|
|
|
|
|
%br
|
|
|
|
|
= @service.organisme
|
|
|
|
|
%br
|
|
|
|
|
= @service.adresse
|
|
|
|
|
%td{ width: "50%", valign: "top" }
|
|
|
|
|
%p
|
|
|
|
|
%strong Poser une question sur votre dossier :
|
|
|
|
|
%br
|
2019-07-17 14:12:57 +02:00
|
|
|
|
- if @dossier.present? && @dossier.messagerie_available?
|
|
|
|
|
= link_to 'Par la messagerie', messagerie_dossier_url(@dossier), target: '_blank', rel: 'noopener'
|
|
|
|
|
- else
|
|
|
|
|
Par email :
|
|
|
|
|
= link_to @service.email, "mailto:#{@service.email}"
|
2019-03-21 15:39:37 +01:00
|
|
|
|
%br
|
|
|
|
|
Par téléphone :
|
|
|
|
|
= link_to @service.telephone, "tel:#{@service.telephone}"
|
|
|
|
|
%br
|
|
|
|
|
Horaires : #{ formatted_horaires(@service.horaires) }
|
|
|
|
|
|
|
|
|
|
|
2019-03-14 10:39:38 +01:00
|
|
|
|
= render template: 'layouts/mailers/notifications_layout'
|