From ec0fa2f9322346ec405b90356de03c66ae30cc0d Mon Sep 17 00:00:00 2001 From: Richard Decal Date: Tue, 4 Apr 2017 13:06:49 -0400 Subject: [PATCH] Added ability to change text template of NewJournal (#2821) * adding custom text field to new-journal * fixed spacing * signing the CLA --- core/ui/PageControls/new-journal.tid | 7 +++++-- licenses/cla-individual.md | 2 ++ 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/core/ui/PageControls/new-journal.tid b/core/ui/PageControls/new-journal.tid index f8c7950a9..a77ebff14 100644 --- a/core/ui/PageControls/new-journal.tid +++ b/core/ui/PageControls/new-journal.tid @@ -5,7 +5,8 @@ description: {{$:/language/Buttons/NewJournal/Hint}} \define journalButton() <$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<>> -<$action-sendmessage $message="tm-new-tiddler" title=<> tags="$(journalTags)$"/> +<$action-sendmessage $message="tm-new-tiddler" title=<> tags="$(journalTags)$" text="$(journalText)$"/> + <$list filter="[prefix[yes]]"> {{$:/core/images/new-journal-button}} @@ -16,5 +17,7 @@ description: {{$:/language/Buttons/NewJournal/Hint}} \end <$set name="journalTitleTemplate" value={{$:/config/NewJournal/Title}}> <$set name="journalTags" value={{$:/config/NewJournal/Tags}}> +<$set name="journalText" value={{$:/config/NewJournal/Text}}> + <> - \ No newline at end of file + diff --git a/licenses/cla-individual.md b/licenses/cla-individual.md index 0ad20b674..eeb258929 100644 --- a/licenses/cla-individual.md +++ b/licenses/cla-individual.md @@ -312,3 +312,5 @@ Stefano De Dionigi, @dedioste, 2017/01/19 Matias Goldman, @twMat, 2017/01/22 Andrew Webb, @tejjyid, 2017/03/06 + +Richard Decal, @crypdick, 2017/04/04