Conditionally formatting a column with different icon images using advanced text mode
I would like to display a icon in a project report column.
A different icon based on a specifically named project task {status} value.
Below is what I have to display the current status as a string (CPL, INP, NEW, NTA)
displayname=Task Status Name
listdelimiter=<div>
listmethod=nested(tasks).lists
textmode=true
type=iterate
valueexpression=IF(CONTAINS("Specific Task Name Part",{name}), {status} )
valueformat=HTML
The documentation for text-mode links around in circles and is not clear on how to proceed from this point.
I would like to display different icons for each of the different status values.
CPL = /interface/images/v4_redux/icons/casebuilder/flag_green.gif
INP = /interface/images/v4_redux/icons/casebuilder/light_yellow.gif
NEW = /interface/images/v4_redux/icons/casebuilder/light_blue.gif
NTA = /interface/images/v4_redux/icons/casebuilder/light_black.gif
I've been struggling with how to achieve this for a while now. Any help is appreciated!