1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 10:07:19 +00:00

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
This commit is contained in:
jeremy@jermolene.com 2021-11-25 08:55:10 +00:00
parent 4bb34e4801
commit be3018fe3b
2 changed files with 5 additions and 4 deletions

View File

@ -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.

View File

@ -6,6 +6,9 @@ transform: translate($(left)$%,$(top)$%) scale(0.3) rotate($(angle)$deg);
<div class="tc-custom-tiddler-template">
<div class="tc-custom-tiddler-template-inner">
<div style="text-align: right;">
{{||$:/core/ui/Buttons/more-tiddler-actions}} {{||$:/core/ui/Buttons/edit}} {{||$:/core/ui/Buttons/close}}
</div>
<$transclude mode="block"/>
</div>
<div class="tc-custom-tiddler-template-list">