Skip to content

Commit

Permalink
Add missing <<tag>> macro parameter in the ViewTemplate for system ta…
Browse files Browse the repository at this point in the history
…gs (#8820)

* Add missing <<tag>> macro parameter in the ViewTemplate for system tags

* Use %if construct instead of $list widget in System Tag ViewTemplate
  • Loading branch information
xcazin authored Dec 15, 2024
1 parent 9786855 commit baafe5e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions editions/tw5.com/tiddlers/system/systemtag-template.tid
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ modified: 20240710163659672
tags: $:/tags/ViewTemplate
title: $:/editions/tw5.com/systemtag-template

<$list filter='[all[current]prefix[SystemTag: ]]'>
<%if [all[current]prefix[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)$ >>

Expand All @@ -24,4 +24,4 @@ The following tiddlers are tagged with <<tag $(thisTag)$ >>
</div>
</$list>
</$let>
</$list>
<%endif%>

0 comments on commit baafe5e

Please sign in to comment.