Skip to content

Commit 1dc0711

Browse files
committed
Show multiple notes
1 parent bc558d4 commit 1dc0711

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

tiddlers/$__supp-info_notes_view-template.tid

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
created: 20251107152410791
2-
modified: 20251107172153874
2+
modified: 20251107173101719
33
tags: $:/tags/ViewTemplate
44
title: $:/supp-info/notes/view-template
55
type: text/vnd.tiddlywiki
@@ -11,9 +11,9 @@ type: text/vnd.tiddlywiki
1111
<details open>
1212
<summary><<count>> Note(s)</summary>
1313
<div class="note-list">
14-
<$list filter={{{ [{$:/supp-info/notes/content}jsonindexes<currentTiddler>] }}} variable="index">
15-
<div class="note"><$text text={{{ [{$:/supp-info/notes/content}jsonget<currentTiddler>,<index>] }}}/></div>
16-
</$list>
14+
<$list filter="[{$:/supp-info/notes/content}jsonindexes<currentTiddler>]" variable="index">
15+
<div class="note"><$text text={{{ [{$:/supp-info/notes/content}jsonget<currentTiddler>,<index>] }}}/></div>
16+
</$list>
1717
</div>
1818
</details>
1919

@@ -22,10 +22,12 @@ type: text/vnd.tiddlywiki
2222

2323
<style>
2424
.supp-notes {
25+
div.debug {background: red; color: white; font-weight: bold; font-size: 150%;}
2526
background-color: #ffc;
2627
padding: 0;
2728
summary {background-color: #996; color: white; padding: .5em; font-weight: bold;}
2829
.note-list {padding: .5em;}
30+
.note {border: 1px solid #ccc; padding: .25em; margin-top: .5em; &>:first-child {margin-top: 0;}}
2931
}
3032
</style
3133
<% endif %>

0 commit comments

Comments
 (0)