feat(sva): add sva badge on page dossier for instructeur

This commit is contained in:
Lisa Durand 2023-06-08 15:07:43 +02:00 committed by Colin Darie
parent 3607b6c593
commit 786bc64d85
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
5 changed files with 30 additions and 7 deletions

View file

@ -3,8 +3,9 @@
= t(sva? ? '.no_sva' : '.no_svr')
- else
%span{ class: classes }
- if with_label.present?
= label_for_badge
- if pending_correction?
= t('.remaining_days_after_correction', count: days_count)
- else
= t('.in_days', count: days_count)