demarches-normaliennes/app/views/dossier_mailer/notify_new_answer.html.haml

24 lines
870 B
Text
Raw Normal View History

- content_for :procedure_logo do
= render 'layouts/mailers/logo', url: @logo_url
%p= t(:hello, scope: [:views, :shared, :greetings])
2021-08-02 11:20:29 +02:00
- if @dossier.brouillon?
%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
- 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)
2021-08-02 11:20:29 +02:00
= render 'layouts/mailers/signature', service: @service
- content_for :footer do
= render 'layouts/mailers/service_footer', service: @service, dossier: @dossier