c9f1a2b8ea
And also insert the reply email address directly in the email body.
23 lines
870 B
Text
23 lines
870 B
Text
- content_for :procedure_logo do
|
|
= render 'layouts/mailers/logo', url: @logo_url
|
|
|
|
%p= t(:hello, scope: [:views, :shared, :greetings])
|
|
|
|
- if @dossier.brouillon?
|
|
%p= t('.body_draft_html', libelle_demarche: @dossier.procedure.libelle)
|
|
%p{ style: "padding: 8px; color: #333333; background-color: #EEEEEE; font-size: 14px;" }
|
|
= @body
|
|
- if @service&.email.present?
|
|
%p= t('.contact_html', email: @service.email)
|
|
- else
|
|
%p= t('.contact_no_email')
|
|
= round_button(t('.access_file'), dossier_url(@dossier), :primary)
|
|
- else
|
|
%p= t('.body_html', libelle_demarche: @dossier.procedure.libelle)
|
|
%p= t('.link')
|
|
= round_button(t('.access_message'), messagerie_dossier_url(@dossier), :primary)
|
|
|
|
= render 'layouts/mailers/signature', service: @service
|
|
|
|
- content_for :footer do
|
|
= render 'layouts/mailers/service_footer', service: @service, dossier: @dossier
|