:ph34r: Hi all
While compare testing each bits of the components of the older version of 3.10.3 as well as 3.12… I have come across a glitch on one of the keywords which is seems very weird.
%asset_status_colour% only displays ASCII character on all version of the browsers.
For example for blue it display this ascii character (#AACCDD) rather that the actual colour. :lol:
Cheers 
That's the desired behaviour. You can then use that colour value anyway you want to.
[quote]That’s the desired behaviour. You can then use that colour value anyway you want to.
[right][post=“15656”]<{POST_SNAPBACK}>[/post][/right][/quote]
Displaying the colour code is not very helpful for the users because they will need to either memorise the codes or use a reference table, but mainly it’s not helpful for an overview since it’s not presented in a proper visual format. ( It’s a lot easier to see which pages are under construction in a report if there is a blue square next to them, rather than trying to find where the #AACCDD codes are).
The other way not to display the ASCII character when using this particular keyword is to incorporate inside a html or css tags. Is that correct ??
Cheers 
[quote]The other way not to display the ASCII character when using this particular keyword is to incorporate inside a html or css tags. Is that correct ??
[right][post=“15677”]<{POST_SNAPBACK}>[/post][/right][/quote]
This is the intention of the keyword.
You should be using it to colour the background of an HTML item with the appropriate colour. For example:
[html]<span style=“background-color: %asset_status_colour%;”>%asset_status%</span>[/html]
This will make the background of the text the correct status colour.
[quote]This is the intention of the keyword.
You should be using it to colour the background of an HTML item with the appropriate colour. For example:
[html]<span style=“background-color: %asset_status_colour%;”>%asset_status%</span>[/html]
This will make the background of the text the correct status colour.
[right][post=“15678”]<{POST_SNAPBACK}>[/post][/right][/quote]
Thank you Avi, Working 