mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-05-04 10:06:59 +00:00
Text-slicer: reorganise plugin shadow tiddler titles
This commit is contained in:
@@ -0,0 +1,45 @@
|
||||
title: $:/plugins/tiddlywiki/text-slicer/templates/interactive/document
|
||||
|
||||
\define config-show-toolbar()
|
||||
$:/config/plugins/tiddlywiki/text-slicer/show-toolbar/$(currentTiddler)$
|
||||
\end
|
||||
|
||||
\define config-heading-status()
|
||||
$:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$
|
||||
\end
|
||||
|
||||
\define body()
|
||||
<$set name="tv-heading-status-config-title" value=<<config-heading-status>>>
|
||||
|
||||
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
||||
|
||||
<div class="tc-sliced-document">
|
||||
|
||||
<div class="tc-sliced-document-header">
|
||||
|
||||
''Document'': <$link><$view field="title"/></$link>
|
||||
|
||||
<$checkbox tiddler=<<config-show-toolbar>> field="text" checked="yes" unchecked="no" default="no"> Show toolbar</$checkbox>
|
||||
|
||||
{{||$:/plugins/tiddlywiki/text-slicer/ui/view-document-button}}
|
||||
|
||||
</div>
|
||||
|
||||
<div class='tc-sliced-document-body'>
|
||||
|
||||
<$set name="tv-show-toolbar" value={{$(config-show-toolbar)$}}>
|
||||
|
||||
<$list filter="[list<currentTiddler>!has[draft.of]]" template="$:/plugins/tiddlywiki/text-slicer/templates/interactive/tiddler" listItem="item"/>
|
||||
|
||||
</$set>
|
||||
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</$set>
|
||||
|
||||
</$set>
|
||||
\end
|
||||
|
||||
<<body>>
|
||||
Reference in New Issue
Block a user