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 title: $:/templates/TagTemplate
{{btn-invisible tw-tag-button{ @@.label
<<button popup:"$:/temp/TagDropDownLocation" qualifyTiddlerTitles:yes>< <_view field="title" format="text" />
{{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>
>>

Wyświetl plik

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