Hi Mark
Magic !!
Thanks very much for your help and so quick answer ..
Vpl
Le mardi 8 janvier 2019 17:09:05 UTC+1, Mark S. a écrit :
>
>
> You can apply the tags as classes like this:
>
> table><tbody>
> <tr>
> <th>Date</th><th>Topic</th><th>Title</th>
> </tr>
> <$list filter="[tag[task]sort[topic]]">
> <tr class={{!!tags}}>
> <td><$link><$view field="created" format="date" template=
> "DD/0MM/YY"/></$link></td>
> <td class="showstatus"><$view field="topic"/></td>
> <td><$view field="title"/></td>
> </tr>
> </$list></tbody></table>
>
> And then a stylesheet (tiddler tagged with $:/tags/Stylesheet) like this:
>
> tr.done td.showstatus {
> color: red;
> }
>
> -- Mark
>
> On Tuesday, January 8, 2019 at 7:26:28 AM UTC-8, vpl wrote:
>>
>> Hi,
>>
>> I struggle to find a way to display a table whose content layout is
>> condioned by tiddler field
>>
>> For example a table like the one below. I would like to highlight in red
>> the 'topic' field (<$view field="topic"/>) if the tiddler has a tag "done"
>>
>> <table><tbody>
>> <tr>
>> <th>Date</th><th>Topic</th><th>Title</th>
>> </tr>
>> <$list filter="[tag[task]sort[topic]]">
>> <tr>
>> <td><$link><$view field="created" format="date"
>> template="DD/0MM/YY"/></$link></td>
>> <td><$view field="topic"/></td>
>> <td><$view field="title"/></td>
>> </tr>
>> </$list></tbody></table>
>>
>> I can't find anything that could help me ... but not a tiddlywiki expert
>>
>> Thanks for your help
>>
>> Regards
>>
>> Vpl
>>
>
--
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/tiddlywiki.
To view this discussion on the web visit
https://groups.google.com/d/msgid/tiddlywiki/1e625b09-d3f0-4711-b72a-92450ce2a0fe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.