mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-09 10:04:08 +00:00
fix typo textcase -> testcase
This commit is contained in:
parent
f8ce842d26
commit
9594f4128f
@ -5,7 +5,7 @@ code-body: yes
|
|||||||
|
|
||||||
\function tf.state() [<qualify "$:/state/testcase">]
|
\function tf.state() [<qualify "$:/state/testcase">]
|
||||||
|
|
||||||
\procedure textcase-toolbar()
|
\procedure testcase-toolbar()
|
||||||
<$button popup=`$(tf.state)$-more`
|
<$button popup=`$(tf.state)$-more`
|
||||||
tooltip={{$:/language/Buttons/More/Hint}}
|
tooltip={{$:/language/Buttons/More/Hint}}
|
||||||
aria-label={{$:/language/Buttons/More/Caption}}
|
aria-label={{$:/language/Buttons/More/Caption}}
|
||||||
@ -47,7 +47,7 @@ code-body: yes
|
|||||||
<$view tiddler="Description" mode="inline"/>
|
<$view tiddler="Description" mode="inline"/>
|
||||||
</$genesis>
|
</$genesis>
|
||||||
<span class="tc-test-case-toolbar">
|
<span class="tc-test-case-toolbar">
|
||||||
<<textcase-toolbar>>
|
<<testcase-toolbar>>
|
||||||
</span>
|
</span>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
@ -85,6 +85,7 @@ code-body: yes
|
|||||||
\procedure testcase-body()
|
\procedure testcase-body()
|
||||||
<div class="tc-test-case-wrapper">
|
<div class="tc-test-case-wrapper">
|
||||||
<<testcase-header>>
|
<<testcase-header>>
|
||||||
|
<$navigator story="$:/StoryList" history="$:/HistoryList">
|
||||||
<%if [[Narrative]is[tiddler]] %>
|
<%if [[Narrative]is[tiddler]] %>
|
||||||
<<testcase-narrative>>
|
<<testcase-narrative>>
|
||||||
<%endif%>
|
<%endif%>
|
||||||
@ -97,17 +98,16 @@ code-body: yes
|
|||||||
|
|
||||||
<div class={{{ [[tc-tab-set]addsuffix[ ]addsuffix<__class__>] }}}>
|
<div class={{{ [[tc-tab-set]addsuffix[ ]addsuffix<__class__>] }}}>
|
||||||
<div class={{{ [[tc-tab-buttons]addsuffix[ ]addsuffix<__class__>] }}}>
|
<div class={{{ [[tc-tab-buttons]addsuffix[ ]addsuffix<__class__>] }}}>
|
||||||
<$list filter="[all[tiddlers]sort[]] Output +[putfirst[]] -[prefix<tf.state>] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[[$:/temp/testcase/draft-title]] -Description -Narrative -[has[plugin-type]]"
|
<$list filter="[all[tiddlers]] [enlist{$:/StoryList!!list}] +[sort[]] Output +[putfirst[]] -[prefix<tf.state>] -[prefix[$:/HistoryList]] -[prefix[$:/StoryList]] -[[$:/temp/testcase/draft-title]] -Description -Narrative -[has[plugin-type]]"
|
||||||
variable="currentTab"
|
variable="currentTab"
|
||||||
storyview="pop"
|
storyview="pop"
|
||||||
>
|
>
|
||||||
<$set name="save-currentTiddler"
|
<$set name="save-currentTiddler" value=<<currentTiddler>> >
|
||||||
value=<<currentTiddler>>
|
|
||||||
>
|
|
||||||
<$tiddler tiddler=<<currentTab>>>
|
<$tiddler tiddler=<<currentTab>>>
|
||||||
|
<$log />
|
||||||
<$button
|
<$button
|
||||||
to=<<currentTab>>
|
to=<<currentTab>>
|
||||||
class={{{ [{$:/HistoryList!!current-tiddler}!is[blank]] :then[{$:/HistoryList!!current-tiddler}match<currentTab>then[tc-tab-selected]else[]] :else[<currentTiddler>match[Output]then[tc-tab-selected]else[]] }}}
|
class={{{ [[$:/HistoryList]has[current-tiddler]] :then[{$:/HistoryList!!current-tiddler}match<currentTab>then[tc-tab-selected]else[]] :else[<currentTiddler>match[Output]then[tc-tab-selected]else[]] }}}
|
||||||
tooltip={{{[<currentTab>get[tooltip]]}}}
|
tooltip={{{[<currentTab>get[tooltip]]}}}
|
||||||
role="switch"
|
role="switch"
|
||||||
data-tab-title=<<currentTab>>
|
data-tab-title=<<currentTab>>
|
||||||
@ -135,9 +135,8 @@ code-body: yes
|
|||||||
<div class="tc-test-case-divider"></div>
|
<div class="tc-test-case-divider"></div>
|
||||||
<<testcase-output>>
|
<<testcase-output>>
|
||||||
</div>
|
</div>
|
||||||
|
</$navigator>
|
||||||
</div>
|
</div>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
<$navigator story="$:/StoryList" history="$:/HistoryList">
|
|
||||||
<<testcase-body>>
|
<<testcase-body>>
|
||||||
</$navigator>
|
|
Loading…
x
Reference in New Issue
Block a user