fix(instructeur): dossier hidden by user reason interpolation

This commit is contained in:
Colin Darie 2024-08-20 16:15:13 +02:00
parent e4d460965f
commit b2931a9dde
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4

View file

@ -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)]