Thread: Custom Coloring
View Single Post
Old 06-08-2011, 05:05 PM   #72
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,090
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by Noughty View Post
This is simple, but I just don't know how to work with columns Yes/No. I have custom column #read. How to make it color title in green if the book is read (Y)?

I would also like to color in read books which metadata is missing. Fields comments (false), and custom column #tagsshelf (false, it is combined column of tags and shelves), cover (false). If any of these are missing it should be in red.
I guess those two can overlap, so maybe for the second it could color format column or author column.

Is there any other useful material, other than this http://manual.calibre-ebook.com/template_lang.html ? I'd really like to learn template language, but I need to begin from complete basics.
TIA
The new tool is almost self explanatory as yo go.
Add a rule button
Set the color of Column <pick> to <pick color>
Only if the conditions are satisfied
If the <pick column to test>
<pick type of test (depends on column type)

At the bottom you can click and add a second condition that must be met...
OK

In your case, you probably want 2 separate rules

Just return to the Tool and ADD another rule.
True and Yes are the same for a Yes/No column
theducks is offline   Reply With Quote