mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 11:30:28 +00:00
6e4222e5e8
* Add icon for view template segment * Muted background colour for view template segment * Include links to parent tiddlers in the view template segment * Fix logic for hiding/showing documents/headings (“open”/“close” were transposed)
19 lines
609 B
Plaintext
19 lines
609 B
Plaintext
title: $:/plugins/tiddlywiki/text-slicer/ui/preview-column
|
|
tags: $:/tags/AboveStory
|
|
|
|
<$scrollable fallthrough="no" class="tc-document-preview-column">
|
|
|
|
<$vars
|
|
tv-default-heading-state="open"
|
|
>
|
|
|
|
<$list filter="[toc-type[document]!has[draft.of]sort[title]limit[1]]" emptyMessage={{$:/plugins/tiddlywiki/text-slicer/ui/preview-column/empty}}>
|
|
|
|
<$list filter="[toc-type[document]!has[draft.of]sort[title]butfirst[1]limit[1]]" emptyMessage={{$:/plugins/tiddlywiki/text-slicer/ui/preview-column/single}} template="$:/plugins/tiddlywiki/text-slicer/ui/preview-column/multiple"/>
|
|
|
|
</$list>
|
|
|
|
</$vars>
|
|
|
|
</$scrollable>
|