2014-10-08 16:46:34 +00:00
|
|
|
title: $:/core/ui/Buttons/new-journal
|
|
|
|
tags: $:/tags/PageControls
|
|
|
|
caption: {{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournal/Caption}}
|
|
|
|
description: {{$:/language/Buttons/NewJournal/Hint}}
|
|
|
|
|
2014-10-08 17:35:25 +00:00
|
|
|
\define journalButton()
|
2014-10-08 16:46:34 +00:00
|
|
|
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>>>
|
2018-01-08 12:23:34 +00:00
|
|
|
<$action-sendmessage $message="tm-new-tiddler" title=<<now """$(journalTitleTemplate)$ """>> tags=<<journalTags>> text=<<journalText>>/>
|
2014-10-08 16:46:34 +00:00
|
|
|
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
|
|
|
{{$:/core/images/new-journal-button}}
|
|
|
|
</$list>
|
|
|
|
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
2014-10-11 14:26:51 +00:00
|
|
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewJournal/Caption}}/></span>
|
2014-10-08 16:46:34 +00:00
|
|
|
</$list>
|
|
|
|
</$button>
|
2014-10-08 17:35:25 +00:00
|
|
|
\end
|
|
|
|
<$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}>
|
2014-10-09 14:35:17 +00:00
|
|
|
<$set name="journalTags" value={{$:/config/NewJournal/Tags}}>
|
2017-04-04 17:06:49 +00:00
|
|
|
<$set name="journalText" value={{$:/config/NewJournal/Text}}>
|
2014-10-08 17:35:25 +00:00
|
|
|
<<journalButton>>
|
2017-04-04 17:15:49 +00:00
|
|
|
</$set></$set></$set>
|