From be3018fe3b098ce2783d4f7f3e373990b79424c1 Mon Sep 17 00:00:00 2001 From: "jeremy@jermolene.com" Date: Thu, 25 Nov 2021 08:55:10 +0000 Subject: [PATCH] Cascade: Improve demo custom story tiddler template Now the buttons are part of the template, making it easier to manage new tiddlers given the tag $:/tags/TiddlerList See #6280 --- ...Demo Tiddler List with Custom Story Tiddler Template.tid | 6 ++---- .../CustomStoryTiddlerTemplateDemo.tid/Template.tid | 3 +++ 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid b/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid index 226bf1710..1e43753ae 100644 --- a/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid +++ b/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Demo Tiddler List with Custom Story Tiddler Template.tid @@ -2,8 +2,6 @@ title: Demo Tiddler List with Custom Story Tiddler Template tags: $:/tags/TiddlerList filter: HelloThere Community GettingStarted Features Reference Plugins Learning -This is a demo tiddler with a custom story tiddler template. See [[Story Tiddler Templates]] for details. +This is a demo tiddler with a custom story tiddler template that displays the tiddlers named in the list field as a fan. -Click to close this tiddler: {{||$:/core/ui/Buttons/close}} - -Click to edit this tiddler: {{||$:/core/ui/Buttons/edit}} +See [[Story Tiddler Templates]] for details. diff --git a/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid b/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid index 1753163e7..bda589174 100644 --- a/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid +++ b/editions/tw5.com/tiddlers/demonstrations/CustomStoryTiddlerTemplateDemo.tid/Template.tid @@ -6,6 +6,9 @@ transform: translate($(left)$%,$(top)$%) scale(0.3) rotate($(angle)$deg);
+
+ {{||$:/core/ui/Buttons/more-tiddler-actions}} {{||$:/core/ui/Buttons/edit}} {{||$:/core/ui/Buttons/close}} +
<$transclude mode="block"/>