From 9594f4128f63ecefcec04c84bd51ecc89ffbafb5 Mon Sep 17 00:00:00 2001 From: pmario Date: Sun, 4 Aug 2024 09:44:07 +0200 Subject: [PATCH] fix typo textcase -> testcase --- core/ui/TestCases/DefaultTemplate.tid | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/core/ui/TestCases/DefaultTemplate.tid b/core/ui/TestCases/DefaultTemplate.tid index df0b64422..b2b7603af 100644 --- a/core/ui/TestCases/DefaultTemplate.tid +++ b/core/ui/TestCases/DefaultTemplate.tid @@ -5,7 +5,7 @@ code-body: yes \function tf.state() [] -\procedure textcase-toolbar() +\procedure testcase-toolbar() <$button popup=`$(tf.state)$-more` tooltip={{$:/language/Buttons/More/Hint}} aria-label={{$:/language/Buttons/More/Caption}} @@ -47,7 +47,7 @@ code-body: yes <$view tiddler="Description" mode="inline"/> - <> + <> @@ -85,6 +85,7 @@ code-body: yes \procedure testcase-body()
<> + <$navigator story="$:/StoryList" history="$:/HistoryList"> <%if [[Narrative]is[tiddler]] %> <> <%endif%> @@ -97,17 +98,16 @@ code-body: yes
] }}}>
] }}}> - <$list filter="[all[tiddlers]sort[]] Output +[putfirst[]] -[prefix] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[[$:/temp/testcase/draft-title]] -Description -Narrative -[has[plugin-type]]" + <$list filter="[all[tiddlers]] [enlist{$:/StoryList!!list}] +[sort[]] Output +[putfirst[]] -[prefix] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[[$:/temp/testcase/draft-title]] -Description -Narrative -[has[plugin-type]]" variable="currentTab" storyview="pop" > - <$set name="save-currentTiddler" - value=<> - > + <$set name="save-currentTiddler" value=<> > <$tiddler tiddler=<>> +<$log /> <$button to=<> - class={{{ [{$:/HistoryList!!current-tiddler}!is[blank]] :then[{$:/HistoryList!!current-tiddler}matchthen[tc-tab-selected]else[]] :else[match[Output]then[tc-tab-selected]else[]] }}} + class={{{ [[$:/HistoryList]has[current-tiddler]] :then[{$:/HistoryList!!current-tiddler}matchthen[tc-tab-selected]else[]] :else[match[Output]then[tc-tab-selected]else[]] }}} tooltip={{{[get[tooltip]]}}} role="switch" data-tab-title=<> @@ -135,9 +135,8 @@ code-body: yes
<>
+
\end -<$navigator story="$:/StoryList" history="$:/HistoryList"> <> - \ No newline at end of file