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

23 lines
764 B
Text
Raw Normal View History

%p= t(:hello, scope: [:views, :shared, :greetings])
%p
2023-12-21 16:27:50 +01:00
- if @transfer.dossiers.size > 1
= t('.transfert_multiple', sender: @transfer.sender, count: @transfer.dossiers.size)
- else
- dossier = @transfer.dossiers.last
= t('.transfert_simple', sender: @transfer.sender, dossier_id: dossier.id)
%span{ :style => "font-weight: bold;" }
= dossier.procedure.libelle
%p
- if @user.present?
= t('.transfer_text', app_name: Current.application_name)
%br
= link_to t('.transfer_link'), dossiers_url(statut: 'dossiers-transferes')
- else
= t('.no_user_transfer_text')
%br
= link_to t('.no_user_transfer_link', app_name: Current.application_name), new_user_registration_url
= render partial: "layouts/mailers/signature"