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

22 lines
764 B
Text

%p= t(:hello, scope: [:views, :shared, :greetings])
%p
- 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"