From b2931a9dde1c73337253326314627eddd6905809 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 20 Aug 2024 16:15:13 +0200 Subject: [PATCH] fix(instructeur): dossier hidden by user reason interpolation --- app/views/instructeurs/procedures/show.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/instructeurs/procedures/show.html.haml b/app/views/instructeurs/procedures/show.html.haml index 1330a2e3b..374dd0580 100644 --- a/app/views/instructeurs/procedures/show.html.haml +++ b/app/views/instructeurs/procedures/show.html.haml @@ -144,7 +144,7 @@ - else %a.cell-link{ href: path } = column - = "- #{t('views.instructeurs.dossiers.deleted_reason', reason: p.hidden_by_reason)}" if p.hidden_by_user_at.present? + = "- #{t("views.instructeurs.dossiers.deleted_reason.#{p.hidden_by_reason}")}" if p.hidden_by_user_at.present? %td.status-col - status = [status_badge(p.state)]