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

21 lines
759 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', libelle_demarche: @dossier.procedure.libelle)
%p= t('.link')
= round_button(t('.access_message'), messagerie_dossier_url(@dossier), :primary)
2021-07-22 14:32:34 +02:00
- else
%p= t('.body_draft', 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
%p= t('.contact')
= round_button(t('.access_file'), 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