mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-16 14:54:51 +00:00
66fc63ed7f
This reverts commit f703330962
.
38 lines
1.3 KiB
Plaintext
38 lines
1.3 KiB
Plaintext
title: $:/core/ui/SideBar/Open
|
|
tags: $:/tags/SideBar
|
|
caption: <$list filter="[<tv-storyview-single-tiddler-mode>prefix[yes]]" emptyMessage="{{$:/language/SideBar/Open/Caption}}">{{$:/language/SideBar/History/Caption}}</$list>
|
|
|
|
\define lingo-base() $:/language/CloseAll/
|
|
|
|
\define drop-actions()
|
|
<$action-listops $tiddler="$:/StoryList" $subfilter="+[insertbefore:currentTiddler<actionTiddler>]"/>
|
|
\end
|
|
|
|
\define open()
|
|
<$list filter="[list[$:/StoryList]]" history="$:/HistoryList" storyview="pop">
|
|
<div style="position: relative;">
|
|
<$droppable actions=<<drop-actions>>>
|
|
<div class="tc-droppable-placeholder">
|
|
|
|
</div>
|
|
<div>
|
|
<$button message="tm-close-tiddler" tooltip={{$:/language/Buttons/Close/Hint}} aria-label={{$:/language/Buttons/Close/Caption}} class="tc-btn-invisible tc-btn-mini">×</$button> <$link to={{!!title}}><$view field="title"/></$link>
|
|
</div>
|
|
</$droppable>
|
|
</div>
|
|
</$list>
|
|
<$tiddler tiddler="">
|
|
<$droppable actions=<<drop-actions>>>
|
|
<div class="tc-droppable-placeholder">
|
|
|
|
</div>
|
|
<$button message="tm-close-all-tiddlers" class="tc-btn-invisible tc-btn-mini"><<lingo Button>></$button>
|
|
</$droppable>
|
|
</$tiddler>
|
|
\end
|
|
|
|
<$list filter="[<tv-storyview-single-tiddler-mode>prefix[yes]]" emptyMessage=<<open>>>
|
|
<$list filter="[list[$:/HistoryList]limit[100]]" template="$:/core/ui/ListItemTemplate"/>
|
|
</$list>
|
|
|