~hokiegeek/tw5-checklist

ref: 758a7967ee1ea57710736f72cb00d6ecbb0fcbfc tw5-checklist/ShoppingList/ShoppingList_buttons_NewItem.tid -rw-r--r-- 803 bytes
758a7967HokieGeek Added buttons to the items themselves so that I can manage their position in a list 2 years ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
creator: hokiegeek
created: 20181022145158481
list-before: 
modified: 20181024014100060
tags: $:/tags/ViewToolbar
title: $:/plugins/hokiegeek/checklist/ShoppingList/buttons/NewItem
type: text/vnd.tiddlywiki

\define newShoppingListItem()
<$set name="item-tags" filter="[{$:/plugins/hokiegeek/checklist/ShoppingList/config/Item/tag}][list[!!tags]]-[{$:/plugins/hokiegeek/checklist/ShoppingList/config/List/tag}]">
<$macrocall $name="newListItem"
            parent-list-tags=<<item-tags>>
            item-tag={{$:/plugins/hokiegeek/checklist/ShoppingList/config/Item/tag}}
            />
</$set>
\end

<$set name="list-tag" value={{$:/plugins/hokiegeek/checklist/ShoppingList/config/List/tag}}>
<$list filter="[all[current]is[tiddler]!is[system]tag<list-tag>]">
<<newShoppingListItem>>
</$list>
</$set>