I have a view that has several decimal fields. I want to output the fields based on their value.
Can I use a view template overwrite and twig if statement for that? Specifically
- Output the field value in a variable.
- Check the value of field
- Based on value add different span around the field output.
Is template overwrite the best approach or maybe I should use a hook?