Alles anzeigenOh sorry, i missunderstood you completly
Yes its possible with a seconds class for example:
CSS{if $unreadThreadsCount.$boardID == 1}{#$unreadThreadsCount.$boardID}{else}{#$unreadThreadsCount.$boardID}{/if}
CSS.boardlistSubboards .nouveau span:after { content: " nouveau"; } .boardlistSubboards span:after { content: " nouveaux"; }
You can also add more types with "else if" for example: 1-19 new posts = green 20 < = red and so on...
i've look, and i've find three :
how i modify the code, i add the " > 1" at the place of " |isset " or after ?
Smarty
{if $unreadThreadsCount.$boardID|isset > 1} <span>{#$unreadThreadsCount.$boardID}</span>{/if}
or