~hokiegeek/tw5-checklist

b489f1b101ad06e61a9b6c90ed3f30f899de2df0 — HokieGeek 3 months ago e40b4c5 master 1.6.0
Added preliminary support for labels in checklists and shopping lists
4 files changed, 19 insertions(+), 7 deletions(-)

M ItemTemplate.tid
M ShoppingList/ItemTemplate.tid
M ShoppingList/view.tid
M plugin.info
M ItemTemplate.tid => ItemTemplate.tid +8 -1
@@ 4,4 4,11 @@ created: 20181022112932067
title: $:/plugins/hokiegeek/checklist/ItemTemplate
type: text/vnd.tiddlywiki

<$checkbox tag="done"> <$link to={{!!title}}><$view field="title"/></$link></$checkbox>
<$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>
</$checkbox>

M ShoppingList/ItemTemplate.tid => ShoppingList/ItemTemplate.tid +9 -4
@@ 5,8 5,13 @@ title: $:/plugins/hokiegeek/checklist/ShoppingList/ItemTemplate
type: text/vnd.tiddlywiki

<$checkbox tag="done">
<$link to={{!!title}}><$view field="title"/></$link>
<$reveal type='nomatch' state='!!price' text=''>
$<$view field="price"/>
</$reveal>
    <$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>

M ShoppingList/view.tid => ShoppingList/view.tid +1 -1
@@ 1,4 1,4 @@
creator: hokiegeek

created: 20181023003033203
modified: 20181023193856558
tags: $:/tags/ViewTemplate

M plugin.info => plugin.info +1 -1
@@ 2,7 2,7 @@
    "title": "$:/plugins/hokiegeek/checklist",
    "description": "A bit of a template for creating various checklists",
    "author": "hokiegeek",
    "version": "1.5.0",
    "version": "1.6.0",
    "core-version": ">=5.1.17",
    "source": "https://gitlab.com/HokieGeek/tw5-checklist",
    "plugin-type": "plugin",