1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-12-08 09:48:05 +00:00

Get the tiddler info panel fields list working properly

Now we can display the fields list as a proper table.

We've had to temporarily hack the list widget again…
This commit is contained in:
Jeremy Ruston
2013-10-14 17:35:52 +01:00
parent b4d33b9614
commit ebd28c8dc7
6 changed files with 15 additions and 18 deletions

View File

@@ -1,6 +1,5 @@
title: $:/core/ui/TiddlerFields
\define renderfield(title)
<div class="tw-view-field"><span class="tw-view-field-name">//$title$//:</span> <span class="tw-view-field-value"><$view field="$title$"/></span></div>
\end
<$list filter="[is[current]fields[]sort[title]] -text" macro="renderfield"/>
<table><tbody><$list filter="[is[current]fields[]sort[title]] -text" template="$:/core/ui/TiddlerFieldTemplate" hackCurrentTiddler=true/>
</tbody>
</table>