diff --git a/core/images/new-here-button.tid b/core/images/new-here-button.tid new file mode 100644 index 000000000..165635010 --- /dev/null +++ b/core/images/new-here-button.tid @@ -0,0 +1,9 @@ +title: $:/core/images/new-here-button +tags: $:/tags/Image + + + + + + + diff --git a/core/language/en-GB/Buttons.multids b/core/language/en-GB/Buttons.multids index 04ef57b0a..72373af46 100644 --- a/core/language/en-GB/Buttons.multids +++ b/core/language/en-GB/Buttons.multids @@ -34,12 +34,14 @@ Home/Caption: home Home/Hint: Open the default tiddlers Language/Caption: language Language/Hint: Choose the user interface language +More/Caption: more +More/Hint: More actions +NewHere/Caption: new here +NewHere/Hint: Create a new tiddler tagged with "<$text text=<>" NewJournal/Caption: new journal NewJournal/Hint: Create a new journal tiddler NewTiddler/Caption: new tiddler NewTiddler/Hint: Create a new tiddler -More/Caption: more -More/Hint: More actions Permalink/Caption: permalink Permalink/Hint: Set browser address bar to a direct link to this tiddler Permaview/Caption: permaview diff --git a/core/ui/ViewToolbar/new-here.tid b/core/ui/ViewToolbar/new-here.tid new file mode 100644 index 000000000..df0e86690 --- /dev/null +++ b/core/ui/ViewToolbar/new-here.tid @@ -0,0 +1,14 @@ +title: $:/core/ui/Buttons/new-here +tags: $:/tags/ViewToolbar +caption: {{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}} +description: {{$:/language/Buttons/NewHere/Hint}} + +<$button tooltip={{$:/language/Buttons/NewHere/Hint}} aria-label={{$:/language/Buttons/NewHere/Caption}} class=<>> +<$action-sendmessage $message="tm-new-tiddler" tags=<>/> +<$list filter="[prefix[yes]]"> +{{$:/core/images/new-here-button}} + +<$list filter="[prefix[yes]]"> +<$text text={{$:/language/Buttons/NewHere/Caption}}/> + + diff --git a/core/wiki/config/ViewToolbarButtons.multids b/core/wiki/config/ViewToolbarButtons.multids index 998e49032..15d55bd41 100644 --- a/core/wiki/config/ViewToolbarButtons.multids +++ b/core/wiki/config/ViewToolbarButtons.multids @@ -3,5 +3,6 @@ title: $:/config/ViewToolbarButtons/Visibility/$:/ core/ui/Buttons/clone: hide core/ui/Buttons/close-others: hide core/ui/Buttons/more-tiddler-actions: hide +core/ui/Buttons/new-here: hide core/ui/Buttons/permalink: hide core/ui/Buttons/permaview: hide diff --git a/core/wiki/tags/ViewToolbar.tid b/core/wiki/tags/ViewToolbar.tid index 230a2d680..4b21eefe7 100644 --- a/core/wiki/tags/ViewToolbar.tid +++ b/core/wiki/tags/ViewToolbar.tid @@ -1,2 +1,2 @@ title: $:/tags/ViewToolbar -list: [[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]] +list: [[$:/core/ui/Buttons/more-tiddler-actions]] [[$:/core/ui/Buttons/info]] [[$:/core/ui/Buttons/new-here]] [[$:/core/ui/Buttons/clone]] [[$:/core/ui/Buttons/edit]] [[$:/core/ui/Buttons/permalink]] [[$:/core/ui/Buttons/permaview]] [[$:/core/ui/Buttons/close-others]] [[$:/core/ui/Buttons/close]]