Starting to add the tag popups back

print-window-tiddler
Jeremy Ruston 2012-12-30 13:37:48 +00:00
rodzic a4141e4779
commit b649bebad0
2 zmienionych plików z 11 dodań i 34 usunięć

Wyświetl plik

@ -1,30 +1,5 @@
title: $:/templates/TagTemplate
{{btn-invisible tw-tag-button{
<<button popup:"$:/temp/TagDropDownLocation" qualifyTiddlerTitles:yes><
{{label{
<<color background:yes default:#aaa><
<<view title>>
>>
}}}
>>
}}}
<<reveal state:"$:/temp/TagDropDownLocation" type:popup qualifyTiddlerTitles:yes><
<div class="open">
{{dropdown-menu{
* <<view title link>>
*.divider
* <<list filter:"[is[current]tagging[]]"><
<li><<view title link>></li>
>>
}}}
</div>
>>
@@.label
<_view field="title" format="text" />
@@

Wyświetl plik

@ -2,16 +2,18 @@ title: $:/templates/ViewTemplate
modifier: JeremyRuston
<span class="title">
<_view field="title"/>
<_button message="tw-close">close</_button>
<$view field="title"/>
<$button message="tw-close">close</$button>
</span>
<div class="small">
<_view field="modifier" format="link"/>
<_view field="modified" format="date"/>
<$view field="modifier" format="link"/>
<$view field="modified" format="date"/>
</div>
@@.tw-tags-wrapper <$list filter="[is[current]tags[]]" template="$:/templates/TagTemplate" />@@
<div class="body">
<_view field="text" format="wikified">
</_view>
<$view field="text" format="wikified">
</$view>
</div>