From e74be779cfa9200b59723ea397d01b613a4d854d Mon Sep 17 00:00:00 2001 From: Mael Date: Wed, 29 Aug 2018 19:00:05 +0200 Subject: [PATCH] =?UTF-8?q?:art:=20Ajout=20d'un=20label=20"nouveau=202019"?= =?UTF-8?q?=20pour=20les=20imp=C3=B4ts?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/TargetSelection.css | 6 ++++++ source/components/TargetSelection.js | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/source/components/TargetSelection.css b/source/components/TargetSelection.css index 2ebfdfa8d..108fd4dbb 100644 --- a/source/components/TargetSelection.css +++ b/source/components/TargetSelection.css @@ -73,6 +73,12 @@ text-decoration: underline; } +#targetSelection #labelNew { + background: red; + border-radius: 0.3em; + padding: 0 0.3em; +} + #targetSelection .targetInputOrValue { font-size: 135%; margin-left: 0.6em; diff --git a/source/components/TargetSelection.js b/source/components/TargetSelection.js index 5d0151827..8119297f8 100644 --- a/source/components/TargetSelection.js +++ b/source/components/TargetSelection.js @@ -163,6 +163,12 @@ let Header = ({ )} + {!conversationStarted && + target.dottedName.includes('net après impôt') && ( +
+ Nouveau 2019 +
+ )} {target.title || target.name}