chore(dossier_transfer): notice after transfer invitation sent

This commit is contained in:
Colin Darie 2022-11-24 19:17:04 +01:00 committed by LeSim
parent f625d99934
commit 611120f31f
3 changed files with 3 additions and 0 deletions

View file

@ -5,6 +5,7 @@ module Users
if transfer.valid?
transfer.save!
flash.notice = t("users.dossiers.transferer.notice_sent")
redirect_to dossiers_path
else
flash.alert = transfer.errors.full_messages

View file

@ -8,3 +8,4 @@ en:
irrevocable_html: Once the transfer request is accepted, the file will be associated with the recipient's account and <strong>you will no longer be able to access it</strong>.
email_label: Email of the recipient account
submit: Send transfer request
notice_sent: The transfer request has been sent successfully

View file

@ -8,3 +8,4 @@ fr:
irrevocable_html: Une fois la demande de transfert acceptée, le dossier sera associé au compte du destinataire et <strong>vous ne pourrez plus y accéder</strong>.
email_label: Email du compte destinataire
submit: Envoyer la demande de transfert
notice_sent: L'invitation au transfert a été envoyée avec succès