The Zurich release has arrived! Interested in new features and functionalities? Click here for more

UI Macros

ritu10555
Tera Contributor

I need to implement an icon beside the number field on incident table. The condition is to have the icon change dynamically, for example:
   If parent is checked - Gold Star Icon 

   If parent is NOT checked - Grey Star Icon
How can I implement that?

 

Here is the code without condition: 

<j:jelly trim="false" xmlns:j="jelly:core" xmlns:g="glide" xmlns:j2="null" xmlns:g2="null">
  <span>
    <i class="icon-star" style="margin-right: 5px;"></i>
    ${field}
  </span>
</j:jelly>
2 REPLIES 2

Cobee
Tera Expert

Try navigating to System UI/Field Styles. From here you can apply different styles to records when certain conditions are met. 

ritu10555
Tera Contributor

But the alignment is improper with field styling.