Extend button widget to allow navigating to a tiddler

Fixes #327
This commit is contained in:
Jermolene
2014-02-22 16:13:16 +00:00
parent ec606c89d2
commit 2ab0facf3a
4 changed files with 13 additions and 6 deletions
+3 -3
View File
@@ -3,10 +3,10 @@ title: $:/snippets/autosavestatus
\define lingo-base() $:/language/ControlPanel/Saving/
<$reveal type="match" state="$:/config/AutoSave" text="yes">
<<lingo AutoSave/Enabled/Prompt>>
<$linkcatcher to="$:/config/AutoSave"><$link to="no"><<lingo AutoSave/Enabled/Button>>
</$link></$linkcatcher>
<$linkcatcher to="$:/config/AutoSave"><$button to="no"><<lingo AutoSave/Enabled/Button>>
</$button></$linkcatcher>
</$reveal>
<$reveal type="nomatch" state="$:/config/AutoSave" text="yes">
<<lingo AutoSave/Disabled/Prompt>>
<$linkcatcher to="$:/config/AutoSave"><$link to="yes"><<lingo AutoSave/Disabled/Button>></$link></$linkcatcher>
<$linkcatcher to="$:/config/AutoSave"><$button to="yes"><<lingo AutoSave/Disabled/Button>></$button></$linkcatcher>
</$reveal>