style(demande): italic for empty champ value (accordingly to mockup)
This commit is contained in:
parent
8724212d83
commit
d7cc5a8091
1 changed files with 2 additions and 1 deletions
|
@ -16,7 +16,8 @@
|
||||||
|
|
||||||
- if champ.blank? && ![TypeDeChamp.type_champs.fetch(:piece_justificative), TypeDeChamp.type_champs.fetch(:titre_identite)].include?(champ.type_champ)
|
- 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
|
||||||
|
%em= t('.blank')
|
||||||
- else
|
- else
|
||||||
.champ-content{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] }
|
.champ-content{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] }
|
||||||
- case champ.type_champ
|
- case champ.type_champ
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue