2013-05-31 14:38:27 +00:00
|
|
|
title: $:/core/ui/TagTemplate
|
2012-06-10 18:47:24 +00:00
|
|
|
|
2013-10-14 20:38:12 +00:00
|
|
|
\define tag-styles()
|
|
|
|
background-color:$(backgroundColor)$;
|
|
|
|
\end
|
2013-11-15 18:31:39 +00:00
|
|
|
<span class="tw-tag-list-item"><$set name="backgroundColor" value={{!!color}}><$button popup=<<qualify "$:/state/tagpopup">> class="btn-invisible tw-tag-label" style=<<tag-styles>>><$transclude tiddler={{!!icon}}/> <$view field="title" format="text" /></$button></$set>
|
2013-11-02 15:42:24 +00:00
|
|
|
<$reveal state=<<qualify "$:/state/tagpopup">> type="popup" position="below" animate="yes"><div class="tw-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/>
|
2013-10-14 20:57:00 +00:00
|
|
|
<hr>
|
|
|
|
<$list filter="[is[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
|
|
|
|
</div></$reveal></span>
|