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()
|
2020-06-14 08:40:48 +00:00
|
|
|
<$set name="tags" filter="[<currentTiddler>] [{$:/config/NewTiddler/Tags}]">
|
2019-04-23 16:54:49 +00:00
|
|
|
<$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()
|
2021-05-24 18:24:37 +00:00
|
|
|
\whitespace trim
|
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>>>
|
2019-07-31 08:30:16 +00:00
|
|
|
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
2014-10-08 21:02:32 +00:00
|
|
|
{{$:/core/images/new-here-button}}
|
|
|
|
</$list>
|
2019-07-31 08:30:16 +00:00
|
|
|
<$list filter="[<tv-config-toolbar-text>match[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
|
2019-10-13 15:53:52 +00:00
|
|
|
<<newHereButton>>
|