View Single Post
Old 12-25-2020, 07:36 PM   #4
ownedbycats
Custom User Title
ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.ownedbycats ought to be getting tired of karma fortunes by now.
 
ownedbycats's Avatar
 
Posts: 11,012
Karma: 75555555
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
Here are the three rules I was trying to replace:

Click image for larger version

Name:	2020-12-25 20_59_46-Window.png
Views:	72
Size:	10.4 KB
ID:	184265

What I was trying to do, using boolean search syntax in place of the template:

Code:
if #onkobo:no, then 'sync.png' 
else 
if #onkobo:yes, then
   if #kobocoll:"=Kobo Store" then 'drm-locked.png'
   else 'reader.png'
Even with the missing fi added, I messed up the template a bit as it instead returns reader.png for everything.

Last edited by ownedbycats; 12-25-2020 at 08:17 PM.
ownedbycats is offline   Reply With Quote