From 64eb1be708e7a3a6ab088d786ebc8ba91dd4c71a Mon Sep 17 00:00:00 2001 From: springerspandrel <66639553+springerspandrel@users.noreply.github.com> Date: Thu, 11 Jul 2024 09:58:17 -0400 Subject: [PATCH] Improve view templates to show tag children (#8362) --- editions/tw5.com/tiddlers/empty-tag-node-template.tid | 11 +++++++++++ .../tw5.com/tiddlers/system/systemtag-template.tid | 10 +++++----- 2 files changed, 16 insertions(+), 5 deletions(-) create mode 100644 editions/tw5.com/tiddlers/empty-tag-node-template.tid diff --git a/editions/tw5.com/tiddlers/empty-tag-node-template.tid b/editions/tw5.com/tiddlers/empty-tag-node-template.tid new file mode 100644 index 000000000..cbc5864c7 --- /dev/null +++ b/editions/tw5.com/tiddlers/empty-tag-node-template.tid @@ -0,0 +1,11 @@ +created: 20240710161501472 +list-after: $:/core/ui/ViewTemplate/body +modified: 20240710165557977 +tags: $:/tags/ViewTemplate +title: $:/editions/tw5.com/empty-tag-node-template +type: + +<$list filter='[is[missing]] :filter[tagging[]]'> +The following tiddlers are tagged with <>: + +<is[missing]tagging[]]" class:"multi-columns">> \ No newline at end of file diff --git a/editions/tw5.com/tiddlers/system/systemtag-template.tid b/editions/tw5.com/tiddlers/system/systemtag-template.tid index 4b0120269..f2d3eee69 100644 --- a/editions/tw5.com/tiddlers/system/systemtag-template.tid +++ b/editions/tw5.com/tiddlers/system/systemtag-template.tid @@ -1,19 +1,19 @@ created: 20220719120233104 list-after: $:/core/ui/ViewTemplate/body -modified: 20220719120319922 +modified: 20240710163659672 tags: $:/tags/ViewTemplate title: $:/editions/tw5.com/systemtag-template <$list filter='[all[current]prefix[SystemTag: ]]'> -<$let tag={{{ [all[current]removeprefix[SystemTag: ]] }}} > +<$let thisTag={{{ [all[current]removeprefix[SystemTag: ]] }}} > -<$list filter='[all[tiddlers+shadows]taglimit[1]]' emptyMessage='(No tiddlers are currently tagged with <> )'> +<$list filter='[all[tiddlers+shadows]taglimit[1]]' emptyMessage='(No tiddlers are currently tagged with <> )'> -The following tiddlers are tagged with <> +The following tiddlers are tagged with <> -<$list filter='[all[tiddlers+shadows]tagsort[]]'> +<$list filter='[all[tiddlers+shadows]tagsort[]]'>
caption
<$link/> <$transclude field="caption"><$transclude field="description"><$view field="title"/>