diff --git a/core/ui/TagManager.tid b/core/ui/TagManager.tid index 8c0bfb6abc..f81b687ede 100644 --- a/core/ui/TagManager.tid +++ b/core/ui/TagManager.tid @@ -13,10 +13,10 @@ caption: {{$:/language/TagManager/Caption}} \end \define iconEditor(title)
-<$button popupTitle=<> class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}} -<$reveal stateTitle=<> type="popup" position="belowleft" text="" default=""> +<$button popupTitle={{{ [[$:/state/popup/icon/]addsuffix<__title__>] }}} class="tc-btn-invisible tc-btn-dropdown">{{$:/core/images/down-arrow}} +<$reveal stateTitle={{{ [[$:/state/popup/icon/]addsuffix<__title__>] }}} type="popup" position="belowleft" text="" default="">
-<$linkcatcher to="$title$!!icon"> +<$linkcatcher actions="""<$action-setfield $tiddler=<<__title__>> icon=<>/>"""> <>
<> @@ -25,17 +25,14 @@ caption: {{$:/language/TagManager/Caption}}
\end -\define qualifyTitle(title) -$title$$(currentTiddler)$ -\end \define toggleButton(state) -<$reveal stateTitle="$state$" type="match" text="closed" default="closed"> -<$button setTitle="$state$" setTo="open" class="tc-btn-invisible tc-btn-dropdown" selectedClass="tc-selected"> +<$reveal stateTitle=<<__state__>> type="match" text="closed" default="closed"> +<$button setTitle=<<__state__>> setTo="open" class="tc-btn-invisible tc-btn-dropdown" selectedClass="tc-selected"> {{$:/core/images/info-button}} -<$reveal stateTitle="$state$" type="match" text="open" default="closed"> -<$button setTitle="$state$" setTo="closed" class="tc-btn-invisible tc-btn-dropdown" selectedClass="tc-selected"> +<$reveal stateTitle=<<__state__>> type="match" text="open" default="closed"> +<$button setTitle=<<__state__>> setTo="closed" class="tc-btn-invisible tc-btn-dropdown" selectedClass="tc-selected"> {{$:/core/images/info-button}} @@ -52,19 +49,19 @@ $title$$(currentTiddler)$ <$list filter="[tags[]!is[system]sort[title]]"> <$edit-text field="color" tag="input" type="color"/> -<$macrocall $name="tag" tag=<>/> +{{||$:/core/ui/TagTemplate}} <$count filter="[all[current]tagging[]]"/> <$macrocall $name="iconEditor" title={{!!title}}/> -<$macrocall $name="toggleButton" state=<> /> +<$macrocall $name="toggleButton" state={{{ [[$:/state/tag-manager/]addsuffix] }}} /> -<$reveal stateTitle=<> type="match" text="open" default=""> +<$reveal stateTitle={{{ [[$:/state/tag-manager/]addsuffix] }}} type="match" text="open" default="">
<><$edit-text field="color" tag="input" type="text" size="9"/>