mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-09-29 15:30:47 +00:00
Fix testcase heading link destination
This commit is contained in:
parent
2312cd3301
commit
b5bd4c9673
@ -5,6 +5,7 @@ title: $:/core/ui/TestCaseTemplate
|
|||||||
<$let
|
<$let
|
||||||
linkTarget="yes"
|
linkTarget="yes"
|
||||||
displayFormat={{!!display-format}}
|
displayFormat={{!!display-format}}
|
||||||
|
testcaseTiddler=<<currentTiddler>>
|
||||||
>
|
>
|
||||||
<$testcase
|
<$testcase
|
||||||
testOutput="Output"
|
testOutput="Output"
|
||||||
|
@ -15,7 +15,7 @@ title: $:/core/ui/testcases/DefaultTemplate
|
|||||||
<div class="tc-test-case-wrapper">
|
<div class="tc-test-case-wrapper">
|
||||||
<div class="tc-test-case-header">
|
<div class="tc-test-case-header">
|
||||||
<h2>
|
<h2>
|
||||||
<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[div]] }}}>
|
<$genesis $type={{{ [<linkTarget>!match[]then[$link]else[div]] }}} to=<<testcaseTiddler>>>
|
||||||
<%if [<testResult>!match[]] %>
|
<%if [<testResult>!match[]] %>
|
||||||
<span class={{{ tc-test-case-result-icon [<testResult>!match[fail]then[tc-test-case-result-icon-pass]] [<testResult>match[fail]then[tc-test-case-result-icon-fail]] +[join[ ]] }}}>
|
<span class={{{ tc-test-case-result-icon [<testResult>!match[fail]then[tc-test-case-result-icon-pass]] [<testResult>match[fail]then[tc-test-case-result-icon-fail]] +[join[ ]] }}}>
|
||||||
<%if [<testResult>!match[fail]] %>
|
<%if [<testResult>!match[fail]] %>
|
||||||
|
Loading…
Reference in New Issue
Block a user