2019-07-22 15:49:11 +02:00
|
|
|
- content_for :procedure_logo do
|
|
|
|
= render 'layouts/mailers/logo', url: @logo_url
|
|
|
|
|
2021-08-26 17:50:39 +02:00
|
|
|
%p= t(:hello, scope: [:views, :shared, :greetings])
|
2021-08-02 11:20:29 +02:00
|
|
|
|
2022-02-16 17:59:02 +01:00
|
|
|
- if @dossier.brouillon?
|
2021-09-08 09:20:03 +02:00
|
|
|
%p= t('.body_draft_html', libelle_demarche: @dossier.procedure.libelle)
|
2021-07-22 14:32:34 +02:00
|
|
|
%p{ style: "padding: 8px; color: #333333; background-color: #EEEEEE; font-size: 14px;" }
|
|
|
|
= @body
|
2022-02-16 18:26:45 +01:00
|
|
|
- if @service&.email.present?
|
|
|
|
%p= t('.contact_html', email: @service.email)
|
|
|
|
- else
|
|
|
|
%p= t('.contact_no_email')
|
2021-09-01 18:52:01 +02:00
|
|
|
= round_button(t('.access_file'), dossier_url(@dossier), :primary)
|
2022-02-16 17:59:02 +01:00
|
|
|
- else
|
|
|
|
%p= t('.body_html', libelle_demarche: @dossier.procedure.libelle)
|
|
|
|
%p= t('.link')
|
|
|
|
= round_button(t('.access_message'), messagerie_dossier_url(@dossier), :primary)
|
2021-08-02 11:20:29 +02:00
|
|
|
|
2019-07-22 15:49:11 +02:00
|
|
|
= render 'layouts/mailers/signature', service: @service
|
|
|
|
|
|
|
|
- content_for :footer do
|
|
|
|
= render 'layouts/mailers/service_footer', service: @service, dossier: @dossier
|