mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-08 08:20:27 +00:00
make $:/core/ui/PageTemplate/sidebar human readable
This commit is contained in:
parent
31ec1bdd50
commit
e809f6c4d3
@ -2,28 +2,16 @@ title: $:/core/ui/PageTemplate/sidebar
|
|||||||
tags: $:/tags/PageTemplate
|
tags: $:/tags/PageTemplate
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define config-title()
|
\define config-title() $:/config/SideBarSegments/Visibility/$(listItem)$
|
||||||
$:/config/SideBarSegments/Visibility/$(listItem)$
|
|
||||||
\end
|
|
||||||
|
|
||||||
<$scrollable fallthrough="no" class="tc-sidebar-scrollable">
|
<$scrollable fallthrough="no" class="tc-sidebar-scrollable">
|
||||||
|
<div class="tc-sidebar-header">
|
||||||
<div class="tc-sidebar-header">
|
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes" tag="div">
|
||||||
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
||||||
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes">
|
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
||||||
|
<$transclude tiddler=<<listItem>> mode="block"/>
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
</$reveal>
|
||||||
|
</$list>
|
||||||
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
</$reveal>
|
||||||
|
</div>
|
||||||
<$transclude tiddler=<<listItem>> mode="block"/>
|
|
||||||
|
|
||||||
</$reveal>
|
|
||||||
|
|
||||||
</$list>
|
|
||||||
|
|
||||||
</$reveal>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
</$scrollable>
|
</$scrollable>
|
||||||
|
Loading…
Reference in New Issue
Block a user