From 218ce09605e35f98530694ce53268e04ef382820 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Thu, 24 Jul 2014 15:50:18 +0100 Subject: [PATCH] Add permalink/permaview/clone to tiddler info bar MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’m open to suggestions for better ways to expose this functionality --- core/language/en-GB/Buttons.multids | 6 ++++++ core/ui/TiddlerInfo.tid | 2 ++ 2 files changed, 8 insertions(+) diff --git a/core/language/en-GB/Buttons.multids b/core/language/en-GB/Buttons.multids index cba6e054f..31af68983 100644 --- a/core/language/en-GB/Buttons.multids +++ b/core/language/en-GB/Buttons.multids @@ -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 diff --git a/core/ui/TiddlerInfo.tid b/core/ui/TiddlerInfo.tid index d9753afb9..b2ba4e7c0 100644 --- a/core/ui/TiddlerInfo.tid +++ b/core/ui/TiddlerInfo.tid @@ -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 message="tw-permaview" title={{$:/language/Buttons/Permaview/Hint}} aria-label={{$:/language/Buttons/Permaview/Caption}}>{{$:/language/Buttons/Permaview/Caption}} <$button message="tw-new-tiddler" param=<> title={{$:/language/Buttons/Clone/Hint}} aria-label={{$:/language/Buttons/Clone/Caption}}>{{$:/language/Buttons/Clone/Caption}} + <>