Merge pull request #8143 from colinux/feat-instructeur-list-archiver-email

feat(instructeurs): list archiver email
This commit is contained in:
Colin Darie 2022-12-01 18:37:26 +01:00 committed by GitHub
commit bc101b34cd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 8 additions and 0 deletions

View file

@ -0,0 +1,2 @@
.tab-title Archivé
%p.tab-paragraph= t(".archived", date: l(archived_at), email: archived_by)

View file

@ -15,3 +15,7 @@
= render partial: 'instructeurs/dossiers/personnes_impliquees_block', locals: { emails_collection: @invites_emails, title: "Personnes invitées à consulter ce dossier", blank: "Aucune personne na été invitée à consulter ce dossier" }
= render partial: 'instructeurs/dossiers/decisions_rendues_block', locals: { traitements: @dossier.traitements }
- if @dossier.archived? && @dossier.archived_at.present?
= render partial: 'instructeurs/dossiers/archived_block', locals: @dossier.slice(:archived_by, :archived_at)

View file

@ -23,3 +23,5 @@ fr:
accepte: "Accepté"
refuse: "Refusé"
sans_suite: "Classé sans suite"
archived_block:
archived: "Ce dossier a été archivé le %{date} par %{email}"