Color background of listview elements depending on referenced object
I have entity Team which has many-to-many relationship with Administration.Account entity to reflect team members. I render the list of teams in a list view. I would like to color background of the listview element depending on whether the current user is a member of the team. Ideally, I would like to define dynamic class using an expression like below (which does not work) if $currentObject/MaturityModel.DevOpsTeam_Account = [%CurrentUser%] then “bg-success” else “” I am sure I am not the first to face this issue. Please, help.