From d7cc5a8091aedfe7aac8c55e6d33a0c579ffaa43 Mon Sep 17 00:00:00 2001 From: Colin Darie Date: Tue, 27 Jun 2023 14:40:01 +0200 Subject: [PATCH] style(demande): italic for empty champ value (accordingly to mockup) --- .../champ_row_show_component.html.haml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/components/dossiers/champ_row_show_component/champ_row_show_component.html.haml b/app/components/dossiers/champ_row_show_component/champ_row_show_component.html.haml index 85441b587..5c545958c 100644 --- a/app/components/dossiers/champ_row_show_component/champ_row_show_component.html.haml +++ b/app/components/dossiers/champ_row_show_component/champ_row_show_component.html.haml @@ -16,7 +16,8 @@ - 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] } - %p= t('.blank') + %p + %em= t('.blank') - else .champ-content{ class: [highlight_if_unseen_class(@demande_seen_at, champ.updated_at), champ.type_champ] } - case champ.type_champ