1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 07:14:50 +00:00

Use the new count widget to add a count to each tag

This commit is contained in:
Jeremy Ruston 2013-08-21 23:10:07 +01:00
parent e1a38d88a7
commit ea1855d872

View File

@ -28,7 +28,9 @@ title: $:/core/ui/MoreSideBar
{{$:/snippets/recentchanges}} {{$:/snippets/recentchanges}}
</$reveal> </$reveal>
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="tagsTab" qualifyTiddlerTitles="yes"> <$reveal type="match" state="$:/state/moreSideBarTabSet" text="tagsTab" qualifyTiddlerTitles="yes">
<$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/TagTemplate"/> <$list filter="[tags[]sort[title]]" itemClass="tw-menu-list-item">
<$transclude template="$:/core/ui/TagTemplate"/> <small><$count filter="[is[current]tagging[]]"/></small>
</$list>
</$reveal> </$reveal>
<$reveal type="match" state="$:/state/moreSideBarTabSet" text="missingTab" qualifyTiddlerTitles="yes"> <$reveal type="match" state="$:/state/moreSideBarTabSet" text="missingTab" qualifyTiddlerTitles="yes">
<$list filter="[is[missing]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/MissingTemplate"/> <$list filter="[is[missing]sort[title]]" itemClass="tw-menu-list-item" template="$:/core/ui/MissingTemplate"/>