1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-24 09:00:27 +00:00

Add permalink/permaview/clone to tiddler info bar

I’m open to suggestions for better ways to expose this functionality
This commit is contained in:
Jermolene 2014-07-24 15:50:18 +01:00
parent 9d69c38611
commit 218ce09605
2 changed files with 8 additions and 0 deletions

View File

@ -4,6 +4,8 @@ AdvancedSearch/Caption: advanced search
AdvancedSearch/Hint: Advanced search
Cancel/Caption: cancel
Cancel/Hint: Cancel editing this tiddler
Clone/Caption: clone
Clone/Hint: Clone this tiddler
Close/Caption: close
Close/Hint: Close this tiddler
ControlPanel/Caption: control panel
@ -16,6 +18,10 @@ Info/Caption: info
Info/Hint: Show information for this tiddler
NewTiddler/Caption: new tiddler
NewTiddler/Hint: Create a new tiddler
Permalink/Caption: permalink
Permalink/Hint: Set browser address bar to a direct link to this tiddler
Permaview/Caption: permaview
Permaview/Hint: Set browser address bar to a direct link to all the tiddlers in this story
Save/Caption: save
Save/Hint: Save this tiddler
SaveWiki/Caption: save changes

View File

@ -1,3 +1,5 @@
title: $:/core/ui/TiddlerInfo
<$button message="tw-permalink" title={{$:/language/Buttons/Permalink/Hint}} aria-label={{$:/language/Buttons/Permalink/Caption}}>{{$:/language/Buttons/Permalink/Caption}}</$button> <$button message="tw-permaview" title={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}}>{{$:/language/Buttons/Permaview/Caption}}</$button> <$button message="tw-new-tiddler" param=<<currentTiddler>> title={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}}>{{$:/language/Buttons/Clone/Caption}}</$button>
<<tabs "[all[shadows+tiddlers]tag[$:/tags/TiddlerInfo]!has[draft.of]]" "$:/core/ui/TiddlerInfo/References">>