1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

shows better message for backup dir with custom store.php

relates to #1387
This commit is contained in:
Tobias Beer 2015-01-20 12:06:09 +01:00
parent f4005871b4
commit 77c9918338
2 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,7 @@ Saving/TiddlySpot/Password: Password
Saving/TiddlySpot/ServerURL: Server URL
Saving/TiddlySpot/UploadDir: Upload Directory
Saving/TiddlySpot/UserName: Wiki Name
Saving/TiddlySpot/RelativeURL: relative to ''Server URL''
Settings/AutoSave/Caption: Autosave
Settings/AutoSave/Disabled/Description: Do not save changes automatically
Settings/AutoSave/Enabled/Description: Save changes automatically

View File

@ -9,7 +9,12 @@ http://$(userName)$.tiddlyspot.com/backup/
\define backupLink()
<$reveal type="nomatch" state="$:/UploadName" text="">
<$set name="userName" value={{$:/UploadName}}>
<$reveal type="match" state="$:/UploadURL" text="">
<a href=<<backupURL>>><$macrocall $name="backupURL" $type="text/plain" $output="text/plain"/></a>
</$reveal>
<$reveal type="nomatch" state="$:/UploadURL" text="">
<<lingo TiddlySpot/RelativeURL>>
</$reveal>
</$set>
</$reveal>
\end