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

Text-slicer: Checkbox for hiding document metadata

This commit is contained in:
Jermolene 2016-02-03 12:48:11 +00:00
parent c98ce99c83
commit 1335dff450
2 changed files with 8 additions and 3 deletions

View File

@ -8,6 +8,10 @@ $:/config/plugins/tiddlywiki/text-slicer/show-preview-document/$(tv-heading-stat
$:/config/plugins/tiddlywiki/text-slicer/show-toolbar/$(currentTiddler)$
\end
\define config-show-metadata()
$:/config/plugins/tiddlywiki/text-slicer/show-metadata/$(currentTiddler)$
\end
\define config-heading-status()
$:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$
\end

View File

@ -20,13 +20,12 @@ title: $:/plugins/tiddlywiki/text-slicer/ui/document/header
''Exclude filter'': <$edit-text field="toc-exclude-filter"/>
<$checkbox tiddler=<<config-show-toolbar>> field="text" checked="yes" unchecked="no" default="no"> Show toolbar</$checkbox>
<$button>
<$checkbox tiddler=<<config-show-toolbar>> field="text" checked="yes" unchecked="no" default="no"> Show toolbar </$checkbox> <$checkbox tiddler=<<config-show-metadata>> field="text" checked="yes" unchecked="no" default="no"> Show metadata</$checkbox> <$button>
<$action-sendmessage $message="tm-open-window" $param=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/plain/document"/>
View document
</$button>
<$reveal state=<<config-show-metadata>> default="no" type="match" text="yes">
<table>
<tbody>
<$list filter="[all[system+tiddlers]tag[$:/tags/DocumentMetaData]]" variable="listItem">
@ -34,5 +33,7 @@ View document
</$list>
</tbody>
</table>
</$reveal>
</div>