AnsweredAssumed Answered

Need to change the color of analyst in list_alg

Question asked by mayur.malhotra.1 on Aug 15, 2018
Latest reply on Aug 15, 2018 by mayur.malhotra.1

I want to change the color of Analyst based on name of the user in list_alg.htmpl, I however somehow achieved to change the color without if conditon but If I am using If condition I am unable to see color


function showUser(value)
var alghtml;
if (value == "Malhotra, Mayur")"<A CLASS=record HREF=\"javascript:showDetailWithPersid('" + analyst_persid + "')\">"+ "<span style='color: red'>"+ value + "</span>" +"</A>");
alghtml = "<A CLASS=record HREF=\"javascript:showDetailWithPersid('" + analyst_persid + "')\">" + value +"</A>" ;;


<PDM_MACRO name=lsCol hdr="Created By" attr=analyst fmtfunc=showUser link=yes sort=no>


I tried with uuid as 

if (value == (uuid)"447D3CC0D35B9446BA0D27B81AA369A9" but no result.


Please guide.