2014-10-08 21:02:32 +00:00
|
|
|
title: $:/core/ui/Buttons/new-here
|
|
|
|
tags: $:/tags/ViewToolbar
|
|
|
|
caption: {{$:/core/images/new-here-button}} {{$:/language/Buttons/NewHere/Caption}}
|
|
|
|
description: {{$:/language/Buttons/NewHere/Hint}}
|
|
|
|
|
2017-07-12 15:47:52 +00:00
|
|
|
\whitespace trim
|
2019-04-23 16:54:49 +00:00
|
|
|
\define newHereActions()
|
|
|
|
<$set name="tags" filter="[<currentTiddler>]">
|
|
|
|
<$action-sendmessage $message="tm-new-tiddler" tags=<<tags>>/>
|
|
|
|
</$set>
|
2014-10-09 19:11:11 +00:00
|
|
|
\end
|
2014-10-09 12:08:11 +00:00
|
|
|
\define newHereButton()
|
2019-04-23 16:54:49 +00:00
|
|
|
<$button actions=<<newHereActions>> tooltip={{$:/language/Buttons/NewHere/Hint}} aria-label={{$:/language/Buttons/NewHere/Caption}} class=<<tv-config-toolbar-class>>>
|
2014-10-08 21:02:32 +00:00
|
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
|
|
{{$:/core/images/new-here-button}}
|
|
|
|
</$list>
|
|
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
2017-07-12 15:47:52 +00:00
|
|
|
<span class="tc-btn-text">
|
|
|
|
<$text text={{$:/language/Buttons/NewHere/Caption}}/>
|
|
|
|
</span>
|
2014-10-08 21:02:32 +00:00
|
|
|
</$list>
|
|
|
|
</$button>
|
2014-10-09 12:08:11 +00:00
|
|
|
\end
|
|
|
|
<<newHereButton>>
|