+ Start a Discussion
Tom Blamire 24Tom Blamire 24 

VF Glyph Icon Colour based on field value

Hi

I have the following line in a VF page using Visualstrap that i cant get work. Any help or suggestions would be greatly appreciated
<vs:glyph icon="time" style="color:{!IF(NOW()- Case.Age_Days__c <= 2, 'green', 'red')}"/>


Thanks

tom