1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-25 01:20:30 +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:
Xavier Cazin 2024-12-15 15:31:07 +01:00 committed by GitHub
parent 978685524b
commit baafe5ea23
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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%>