🎨 Ajout d'un label "nouveau 2019" pour les impôts

pull/279/head
Mael 2018-08-29 19:00:05 +02:00
parent 9b13718214
commit e74be779cf
2 changed files with 12 additions and 0 deletions

View File

@ -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;

View File

@ -163,6 +163,12 @@ let Header = ({
)}
<span className="texts">
{!conversationStarted &&
target.dottedName.includes('net après impôt') && (
<div>
<span id="labelNew">Nouveau 2019</span>
</div>
)}
<span className="optionTitle">
<Link to={match.path + 'règle/' + encodeRuleName(target.dottedName)}>
{target.title || target.name}