diff --git a/core/ui/TagManager.tid b/core/ui/TagManager.tid index 02a97e048..537a984a4 100644 --- a/core/ui/TagManager.tid +++ b/core/ui/TagManager.tid @@ -22,14 +22,20 @@ title: $:/TagManager \end -\define qualifyUnique(title) +\define qualifyTitle(title) $title$$(currentTiddler)$ \end \define toggleButton(state) -<$reveal state="$state$" type="match" text="0" default="0"> -<$button set="$state$" setTo="1" class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/right-arrow}} -<$reveal state="$state$" type="match" text="1" default="0"> -<$button set="$state$" setTo="0" class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/close-button}} +<$reveal state="$state$" type="match" text="closed" default="closed"> +<$button set="$state$" setTo="open" class="tc-btn-invisible tc-btn-dropdown"> +{{$:/core/images/right-arrow}} + + +<$reveal state="$state$" type="match" text="open" default="closed"> +<$button set="$state$" setTo="closed" class="tc-btn-invisible tc-btn-dropdown"> +{{$:/core/images/close-button}} + + \end @@ -44,22 +50,27 @@ $title$$(currentTiddler)$ - + - + + + + + +
<$edit-text field="color" tag="input" type="color"/> <$transclude tiddler="$:/core/ui/TagTemplate"/> -<$reveal state=<> type="match" text="0" default="0"> -<$macrocall $name="iconEditor" title={{!!title}}/><$macrocall $name="toggleButton" state=<> /> +<$macrocall $name="iconEditor" title={{!!title}}/> + +<$macrocall $name="toggleButton" state=<> />
-<$reveal state=<> type="match" text="1" default=""> +<$reveal state=<> type="match" text="open" default=""> - +
Color<$edit-text field="color" tag="input" type="text" size="9"/>
Color<$edit-text field="color" tag="input" type="text" size="9"/>
Icon<$edit-text field="icon" tag="input" size="45"/><$macrocall $name="iconEditor" title={{!!title}}/>
-