mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-04-06 02:37:14 +00:00
Merge e19e5d07bffbaa9f69203d2db4be76d2f62e3108 into 961e74f73d230d0028efb586db07699120eac888
This commit is contained in:
commit
d372d5d1fa
@ -2,28 +2,18 @@ title: $:/core/ui/PageTemplate/sidebar
|
||||
tags: $:/tags/PageTemplate
|
||||
|
||||
\whitespace trim
|
||||
\define config-title()
|
||||
$:/config/SideBarSegments/Visibility/$(listItem)$
|
||||
\end
|
||||
\function config-title() [[$:/config/SideBarSegments/Visibility/$(listItem)$]substitute[]]
|
||||
|
||||
<$scrollable fallthrough="no" class="tc-sidebar-scrollable">
|
||||
|
||||
<div class="tc-sidebar-header">
|
||||
|
||||
<$reveal state="$:/state/sidebar" type="match" text="yes" default="yes" retain="yes" animate="yes">
|
||||
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
||||
|
||||
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
||||
|
||||
<$transclude tiddler=<<listItem>> mode="block"/>
|
||||
|
||||
</$reveal>
|
||||
|
||||
</$list>
|
||||
|
||||
</$reveal>
|
||||
|
||||
</div>
|
||||
|
||||
<$reveal state="$:/state/sidebar"
|
||||
tag="div" class="tc-sidebar-header"
|
||||
type="match" text="yes" default="yes"
|
||||
retain="yes" animate="yes"
|
||||
>
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBarSegment]!has[draft.of]]" variable="listItem">
|
||||
<$reveal type="nomatch" state=<<config-title>> text="hide" tag="div">
|
||||
<$transclude $tiddler=<<listItem>> $mode="block"/>
|
||||
</$reveal>
|
||||
</$list>
|
||||
</$reveal>
|
||||
</$scrollable>
|
||||
|
Loading…
x
Reference in New Issue
Block a user