2014-03-26 13:06:11 +00:00
|
|
|
title: $:/core/ui/TagEditTemplate
|
|
|
|
|
|
|
|
\define tag-styles()
|
|
|
|
background-color:$(backgroundColor)$;
|
|
|
|
\end
|
|
|
|
<$set name="backgroundColor" value={{!!color}}>
|
|
|
|
<$button popup=<<qualify "$:/state/tagpopup">> class="btn-invisible tw-tag-label" style=<<tag-styles>>>
|
|
|
|
<$view field="title" format="text" />
|
|
|
|
<$button message="tw-remove-tag" param={{!!title}} class="btn-invisible tw-remove-tag-button">×</$button>
|
|
|
|
</$button>
|
|
|
|
</$set>
|
|
|
|
<$reveal state=<<qualify "$:/state/tagpopup">> type="popup" position="below" animate="yes"><div class="tw-drop-down"><$transclude tiddler="$:/core/ui/ListItemTemplate"/>
|
|
|
|
<hr>
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
|
2014-03-26 13:06:11 +00:00
|
|
|
</div>
|
|
|
|
</$reveal>
|