Fix dossier deleted user display
This commit is contained in:
parent
61f49619ba
commit
5f419954b4
5 changed files with 6 additions and 5 deletions
|
@ -7,7 +7,7 @@
|
|||
.card
|
||||
- if dossier.france_connect_information.present?
|
||||
= render partial: "shared/dossiers/france_connect_informations", locals: { user_information: dossier.france_connect_information }
|
||||
= render partial: "shared/dossiers/user_infos", locals: { user: dossier.user }
|
||||
= render partial: "shared/dossiers/user_infos", locals: { user_deleted: dossier.user_deleted?, email: dossier.user_email_for(:display) }
|
||||
|
||||
- if dossier.etablissement.present?
|
||||
= render partial: "shared/dossiers/identite_entreprise", locals: { etablissement: dossier.etablissement, profile: profile }
|
||||
|
|
|
@ -2,4 +2,4 @@
|
|||
%tbody
|
||||
%tr
|
||||
%th.libelle Email :
|
||||
%td= user.email
|
||||
%td= user_deleted ? "#{email} (l‘usager a supprimé son compte)" : email
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue