mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-17 07:11:22 +00:00
First pass at refactoring filter execution
This is the beginning of addressing #523.
This commit is contained in:
@@ -2,13 +2,13 @@ title: $:/core/ui/TiddlerInfo/Advanced/PluginInfo
|
||||
tags: $:/tags/TiddlerInfo/Advanced
|
||||
|
||||
\define lingo-base() $:/language/TiddlerInfo/Advanced/PluginInfo/
|
||||
<$list filter="[is[current]has[plugin-type]]">
|
||||
<$list filter="[all[current]has[plugin-type]]">
|
||||
|
||||
! <<lingo Heading>>
|
||||
|
||||
<<lingo Hint>>
|
||||
<ul>
|
||||
<$list filter="[is[current]plugintiddlers[]sort[title]]" emptyMessage=<<lingo Empty/Hint>>>
|
||||
<$list filter="[all[current]plugintiddlers[]sort[title]]" emptyMessage=<<lingo Empty/Hint>>>
|
||||
<li>
|
||||
<$link to={{!!title}}>
|
||||
<$view field="title"/>
|
||||
|
||||
@@ -6,17 +6,17 @@ tags: $:/tags/TiddlerInfo/Advanced
|
||||
|
||||
! <<lingo Heading>>
|
||||
|
||||
<$list filter="[is[current]!is[shadow]]">
|
||||
<$list filter="[all[current]!is[shadow]]">
|
||||
|
||||
<<lingo NotShadow/Hint>>
|
||||
|
||||
</$list>
|
||||
|
||||
<$list filter="[is[current]is[shadow]]">
|
||||
<$list filter="[all[current]is[shadow]]">
|
||||
|
||||
<<lingo Shadow/Hint>>
|
||||
|
||||
<$list filter="[is[current]shadowsource[]]">
|
||||
<$list filter="[all[current]shadowsource[]]">
|
||||
|
||||
<$set name="pluginTiddler" value=<<currentTiddler>>>
|
||||
<<lingo Shadow/Source>>
|
||||
@@ -24,7 +24,7 @@ tags: $:/tags/TiddlerInfo/Advanced
|
||||
|
||||
</$list>
|
||||
|
||||
<$list filter="[is[current]is[shadow]is[tiddler]]">
|
||||
<$list filter="[all[current]is[shadow]is[tiddler]]">
|
||||
|
||||
<<lingo OverriddenShadow/Hint>>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user