mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-09 03:19:56 +00:00
def8e6d354
* adding trim: link-dropdown, Fields, unfold * adding trim: all remaining snippets * Fix for reversion I accidentally applied
20 lines
534 B
Plaintext
20 lines
534 B
Plaintext
title: $:/snippets/paletteswitcher
|
|
|
|
\whitespace trim
|
|
<$linkcatcher to="$:/palette">
|
|
<div class="tc-chooser">
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/Palette]sort[name]]">
|
|
<$set name="cls" filter="[all[current]prefix{$:/palette}]" value="tc-chooser-item tc-chosen" emptyValue="tc-chooser-item">
|
|
<div class=<<cls>>>
|
|
<$link to={{!!title}}>
|
|
''<$view field="name" format="text"/>''
|
|
 - 
|
|
<$view field="description" format="text"/>
|
|
{{||$:/snippets/currpalettepreview}}
|
|
</$link>
|
|
</div>
|
|
</$set>
|
|
</$list>
|
|
</div>
|
|
</$linkcatcher>
|