mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-12 12:59:57 +00:00
Text-slicer: Checkbox for hiding document metadata
This commit is contained in:
parent
c98ce99c83
commit
1335dff450
@ -8,6 +8,10 @@ $:/config/plugins/tiddlywiki/text-slicer/show-preview-document/$(tv-heading-stat
|
|||||||
$:/config/plugins/tiddlywiki/text-slicer/show-toolbar/$(currentTiddler)$
|
$:/config/plugins/tiddlywiki/text-slicer/show-toolbar/$(currentTiddler)$
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
\define config-show-metadata()
|
||||||
|
$:/config/plugins/tiddlywiki/text-slicer/show-metadata/$(currentTiddler)$
|
||||||
|
\end
|
||||||
|
|
||||||
\define config-heading-status()
|
\define config-heading-status()
|
||||||
$:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$
|
$:/config/plugins/tiddlywiki/text-slicer/heading-status/$(currentTiddler)$
|
||||||
\end
|
\end
|
||||||
|
@ -20,13 +20,12 @@ title: $:/plugins/tiddlywiki/text-slicer/ui/document/header
|
|||||||
|
|
||||||
''Exclude filter'': <$edit-text field="toc-exclude-filter"/>
|
''Exclude filter'': <$edit-text field="toc-exclude-filter"/>
|
||||||
|
|
||||||
<$checkbox tiddler=<<config-show-toolbar>> field="text" checked="yes" unchecked="no" default="no"> Show toolbar</$checkbox>
|
<$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>
|
||||||
|
|
||||||
<$button>
|
|
||||||
<$action-sendmessage $message="tm-open-window" $param=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/plain/document"/>
|
<$action-sendmessage $message="tm-open-window" $param=<<currentTiddler>> template="$:/plugins/tiddlywiki/text-slicer/templates/plain/document"/>
|
||||||
View document
|
View document
|
||||||
</$button>
|
</$button>
|
||||||
|
|
||||||
|
<$reveal state=<<config-show-metadata>> default="no" type="match" text="yes">
|
||||||
<table>
|
<table>
|
||||||
<tbody>
|
<tbody>
|
||||||
<$list filter="[all[system+tiddlers]tag[$:/tags/DocumentMetaData]]" variable="listItem">
|
<$list filter="[all[system+tiddlers]tag[$:/tags/DocumentMetaData]]" variable="listItem">
|
||||||
@ -34,5 +33,7 @@ View document
|
|||||||
</$list>
|
</$list>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
</$reveal>
|
||||||
|
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
Loading…
Reference in New Issue
Block a user