feat(sva): add text sva for usager in dossier status overview

This commit is contained in:
Lisa Durand 2023-06-08 16:41:52 +02:00 committed by Colin Darie
parent 168189c3ac
commit 3607b6c593
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
3 changed files with 15 additions and 0 deletions

View file

@ -43,6 +43,13 @@
%p{ role: 'status' }
= t('views.users.dossiers.show.status_overview.admin_review')
- if dossier.sva_svr_decision_on.present?
-# i18n-tasks-use t('views.users.dossiers.show.status_overview.delay_title.sva'), t('views.users.dossiers.show.status_overview.delay_title.svr')
= render Dsfr::CalloutComponent.new(title: t(dossier.procedure.sva_svr_configuration.decision, scope: "views.users.dossiers.show.status_overview.delay_title")) do |c|
- c.with_body do
%p
= t('views.users.dossiers.show.status_overview.delay_text_sva_svr', date: l(dossier.sva_svr_decision_on, format: :long))
= render partial: 'users/dossiers/show/estimated_delay', locals: { procedure: dossier.procedure }
%p

View file

@ -432,6 +432,10 @@ en:
en_construction_html: Your file is in progress. It means that <strong>you can still edit it</strong>. You will no longer be able to edit the file when the administration will switch it to "review".
status_review: undergoing review
admin_review: The administration is reviewing your file. You are no longer able to edit it.
delay_title:
sva: "Your file is subject to the legislative framework « Silence Vaut Accord »"
svr: "Your file is subject to the legislative framework « Silence Vaut Rejet »"
delay_text_sva_svr: "You will receive a reply from the administration no later than %{date}."
status_completed: completed
use_mailbox_for_questions_html: "<strong>You have a question?</strong> Use the mailbox to <a href=\"%{mailbox_url}\">contact the administration directly</a>."
acceptee_html: "Your file had been <strong>accepted</strong>."

View file

@ -434,6 +434,10 @@ fr:
en_construction_html: "Votre dossier est en construction. Cela signifie que <strong>vous pouvez encore le modifier</strong>. Vous ne pourrez plus modifier votre dossier lorsque ladministration le passera « en instruction »."
status_review: en instruction
admin_review: Votre dossier est en cours dinstruction par ladministration. Vous ne pouvez plus le modifier.
delay_title:
sva: "Votre dossier est soumis au cadre législatif « Silence Vaut Accord »"
svr: "Votre dossier est soumis au cadre législatif « Silence Vaut Rejet »"
delay_text_sva_svr: "Vous aurez un retour de l'administration au plus tard le %{date}."
status_completed: terminé
use_mailbox_for_questions_html: "<strong>Vous avez une question ?</strong> Utilisez la messagerie pour <a href=\"%{mailbox_url}\">contacter ladministration directement</a>."
acceptee_html: "Votre dossier a été <strong>accepté</strong>."