Thread: Custom Coloring
View Single Post
Old 06-04-2011, 11:14 AM   #69
jesscat
Groupie
jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.jesscat has a complete set of Star Wars action figures.
 
Posts: 164
Karma: 354
Join Date: Mar 2009
Location: US
Device: iPad mini
Quote:
Originally Posted by chaley View Post
First, you can do this with the wizard. Rules for a column are applied in order until one of them matches. In your case I see three rules, all for title. The first would test unread and ondevice, the second unread and not ondevice, and the third something like title is not empty (which is always true).

Now to the template, which is how I would do this. .... Use first_non_empty to sequence through a set of ands.
I didn't even consider first_non_empty. I considered trying it with the wizard, but I'd rather try to do it with the language, which is hard for me to get a grip on. I played with switches for a while, but that wasn't getting me there.

So thanks for this - it works perfectly and I can tweak things how I want. When "not" is restored I'll give that a try just to see how it works, but the test function gets by that very nicely.

Thank you!
jesscat is offline   Reply With Quote