~hokiegeek/tw5-checklist

ref: b489f1b101ad06e61a9b6c90ed3f30f899de2df0 tw5-checklist/ShoppingList/ItemTemplate.tid -rw-r--r-- 538 bytes
b489f1b1HokieGeek Added preliminary support for labels in checklists and shopping lists 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
creator: hokiegeek
created: 20181022112932067
modified: 20181022150918080
title: $:/plugins/hokiegeek/checklist/ShoppingList/ItemTemplate
type: text/vnd.tiddlywiki

<$checkbox tag="done">
    <$link to={{!!title}}><$view field="title"/></$link>
    <$reveal type='nomatch' state='!!labels' text=''>
        <span style="font-size: 8px; font-family: monospace;">
            <$view field="labels"/>
        </span>
    </$reveal>
    <$reveal type='nomatch' state='!!price' text=''>
    $<$view field="price"/>
    </$reveal>
</$checkbox>