mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-08 02:49:56 +00:00
Ensure that the current tour isn't listed as an option in the final step
This commit is contained in:
parent
6088fd7d95
commit
4ef8ce3caa
@ -40,7 +40,12 @@ next
|
||||
</$reveal>
|
||||
</div>
|
||||
</div>
|
||||
<$transclude tiddler={{$:/state/tour/step}} mode="block"/>
|
||||
<$let
|
||||
currentTour={{$:/config/CurrentTour}}
|
||||
currentTourStep={{$:/state/tour/step}}
|
||||
>
|
||||
<$transclude tiddler=<<currentTourStep>> mode="block"/>
|
||||
</$let>
|
||||
<$list filter="[{$:/state/tour/step}has[selector]]" variable="ignore">
|
||||
<$button class="tc-btn-big-green" style="background-color: green;">
|
||||
<$action-sendmessage $message="tm-spotlight-element" selector={{{ [{$:/state/tour/step}get[selector]] }}} selector-fallback-1={{{ [{$:/state/tour/step}get[selector-fallback-1]] }}} selector-fallback-2={{{ [{$:/state/tour/step}get[selector-fallback-2]] }}}/>
|
||||
|
@ -13,4 +13,4 @@ You have completed the tour.
|
||||
|
||||
You can choose to take another tour:
|
||||
|
||||
<<tour-chooser filter:"[all[shadows+tiddlers]tag[$:/tags/Tour]] -[[$:/plugins/tiddlywiki/tour/introduction-to-tiddlywiki]]">>
|
||||
<<tour-chooser filter:"[all[shadows+tiddlers]tag[$:/tags/Tour]] -[<currentTour>]">>
|
||||
|
Loading…
Reference in New Issue
Block a user