Merge pull request #9246 from mfo/US/fix-not-visible-pjs
correctif(champ.pj): ETQ usager et instructeur, l'affichage des PJs etait cassé
This commit is contained in:
commit
ac2dd3e14c
1 changed files with 1 additions and 1 deletions
|
@ -12,7 +12,7 @@
|
||||||
- if updated_after_deposer?(champ)
|
- if updated_after_deposer?(champ)
|
||||||
%span{ class: highlight_if_unseen_class(@demande_seen_at, champ.updated_at) }
|
%span{ class: highlight_if_unseen_class(@demande_seen_at, champ.updated_at) }
|
||||||
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: try_format_datetime(champ.updated_at))
|
= t(:updated_at, scope: [:views, :shared, :dossiers, :form], datetime: try_format_datetime(champ.updated_at))
|
||||||
- if champ.blank?
|
- if champ.blank? && ![TypeDeChamp.type_champs.fetch(:piece_justificative), TypeDeChamp.type_champs.fetch(:titre_identite)].include?(champ.type_champ)
|
||||||
.champ-content.fr-text-mention--grey{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] }
|
.champ-content.fr-text-mention--grey{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] }
|
||||||
%p= t('.blank')
|
%p= t('.blank')
|
||||||
- else
|
- else
|
||||||
|
|
Loading…
Reference in a new issue