2018-11-13 08:54:50 +00:00
|
|
|
title: $:/core/ui/ViewTemplate
|
|
|
|
|
|
|
|
\whitespace trim
|
|
|
|
\define folded-state()
|
|
|
|
$:/state/folded/$(currentTiddler)$
|
|
|
|
\end
|
2021-10-02 16:22:24 +00:00
|
|
|
\define cancel-delete-tiddler-actions(message) <$action-sendmessage $message="tm-$message$-tiddler"/>
|
2023-05-09 14:46:54 +00:00
|
|
|
\import [all[shadows+tiddlers]tag[$:/tags/Macro/View]!is[draft]] [all[shadows+tiddlers]tag[$:/tags/Global/View]!is[draft]]
|
2021-10-02 16:22:24 +00:00
|
|
|
<$vars storyTiddler=<<currentTiddler>> tiddlerInfoState=<<qualify "$:/state/popup/tiddler-info">>>
|
|
|
|
<div data-tiddler-title=<<currentTiddler>> data-tags={{!!tags}} class={{{ tc-tiddler-frame tc-tiddler-view-frame [<currentTiddler>is[tiddler]then[tc-tiddler-exists]] [<currentTiddler>is[missing]!is[shadow]then[tc-tiddler-missing]] [<currentTiddler>is[shadow]then[tc-tiddler-exists tc-tiddler-shadow]] [<currentTiddler>is[shadow]is[tiddler]then[tc-tiddler-overridden-shadow]] [<currentTiddler>is[system]then[tc-tiddler-system]] [{!!class}] [<currentTiddler>tags[]encodeuricomponent[]addprefix[tc-tagged-]] +[join[ ]] }}}>
|
2018-11-13 08:54:50 +00:00
|
|
|
<$set name="state" value={{{ [[$:/state/viewtemplate/visibility/]addsuffix<currentTiddler>] }}}>
|
2019-03-20 18:24:29 +00:00
|
|
|
<$reveal stateTitle=<<state>> type="nomatch" text="" default="" tag="div">
|
2019-03-21 12:56:26 +00:00
|
|
|
<div class="tc-dynaview-track-tiddler-when-visible" data-dynaview-track-tiddler=<<state>>>
|
2018-11-13 08:54:50 +00:00
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem">
|
|
|
|
<$transclude tiddler=<<listItem>>/>
|
|
|
|
</$list>
|
|
|
|
</div>
|
|
|
|
</$reveal>
|
2019-03-20 18:24:29 +00:00
|
|
|
<$reveal stateTitle=<<state>> type="match" text="" default="" tag="div">
|
2019-03-21 12:56:26 +00:00
|
|
|
<div class="tc-dynaview-track-tiddler-when-visible" style="min-height: 5em;" data-dynaview-track-tiddler=<<state>>>
|
2018-11-13 08:54:50 +00:00
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
</$set>
|
|
|
|
</div>
|
|
|
|
</$vars>
|