mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-09-10 14:56:06 +00:00
Add missing <<tag>> macro parameter in the ViewTemplate for system tags (#8820)
* Add missing <<tag>> macro parameter in the ViewTemplate for system tags * Use %if construct instead of $list widget in System Tag ViewTemplate
This commit is contained in:
@@ -4,10 +4,10 @@ modified: 20240710163659672
|
|||||||
tags: $:/tags/ViewTemplate
|
tags: $:/tags/ViewTemplate
|
||||||
title: $:/editions/tw5.com/systemtag-template
|
title: $:/editions/tw5.com/systemtag-template
|
||||||
|
|
||||||
<$list filter='[all[current]prefix[SystemTag: ]]'>
|
<%if [all[current]prefix[SystemTag: ]] %>
|
||||||
<$let thisTag={{{ [all[current]removeprefix[SystemTag: ]] }}} >
|
<$let thisTag={{{ [all[current]removeprefix[SystemTag: ]] }}} >
|
||||||
|
|
||||||
<$list filter='[all[tiddlers+shadows]tag<thisTag>limit[1]]' emptyMessage='(No tiddlers are currently tagged with <<tag>> )'>
|
<$list filter='[all[tiddlers+shadows]tag<thisTag>limit[1]]' emptyMessage='(No tiddlers are currently tagged with <<tag $(thisTag)$ >>)'>
|
||||||
|
|
||||||
The following tiddlers are tagged with <<tag $(thisTag)$ >>
|
The following tiddlers are tagged with <<tag $(thisTag)$ >>
|
||||||
|
|
||||||
@@ -24,4 +24,4 @@ The following tiddlers are tagged with <<tag $(thisTag)$ >>
|
|||||||
</div>
|
</div>
|
||||||
</$list>
|
</$list>
|
||||||
</$let>
|
</$let>
|
||||||
</$list>
|
<%endif%>
|
||||||
|
Reference in New Issue
Block a user