mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-12-09 18:28:07 +00:00
Add a new journal page toolbar button
Spot the easter egg with the toolbar button… Fixes #336
This commit is contained in:
14
core/ui/PageControls/new-journal.tid
Normal file
14
core/ui/PageControls/new-journal.tid
Normal file
@@ -0,0 +1,14 @@
|
||||
title: $:/core/ui/Buttons/new-journal
|
||||
tags: $:/tags/PageControls
|
||||
caption: {{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournal/Caption}}
|
||||
description: {{$:/language/Buttons/NewJournal/Hint}}
|
||||
|
||||
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>>>
|
||||
<$action-sendmessage $message="tm-new-tiddler" title=<<now "DDth MMM YYYY">> tags="Journal"/>
|
||||
<$list filter="[<tv-config-toolbar-icons>prefix[yes]]">
|
||||
{{$:/core/images/new-journal-button}}
|
||||
</$list>
|
||||
<$list filter="[<tv-config-toolbar-text>prefix[yes]]">
|
||||
<$text text={{$:/language/Buttons/NewJournal/Caption}}/>
|
||||
</$list>
|
||||
</$button>
|
||||
Reference in New Issue
Block a user