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
|
2014-02-20 21:42:31 +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>
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
|
2014-02-20 21:42:31 +00:00
|
|
|
</div>
|
|
|
|
</$reveal>
|
|
|
|
</span>
|