From 5d0e4732b22ce4770d1f29dcc1d38c8ba41060eb Mon Sep 17 00:00:00 2001 From: Simon Huber Date: Thu, 30 Jan 2020 16:52:33 +0100 Subject: [PATCH] Add "none" as an option in the icon dropdown in tag manager (#4361) * add no-icon option to tagmanager and add ... ... whitespace trims * Update Misc.multids --- core/language/en-GB/Misc.multids | 1 + core/ui/TagManager.tid | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/core/language/en-GB/Misc.multids b/core/language/en-GB/Misc.multids index 599b575eb..ee1d0320e 100644 --- a/core/language/en-GB/Misc.multids +++ b/core/language/en-GB/Misc.multids @@ -66,6 +66,7 @@ SystemTiddlers/Include/Prompt: Include system tiddlers TagManager/Colour/Heading: Colour TagManager/Count/Heading: Count TagManager/Icon/Heading: Icon +TagManager/Icons/None: None TagManager/Info/Heading: Info TagManager/Tag/Heading: Tag Tiddler/DateFormat: DDth MMM YYYY at hh12:0mmam diff --git a/core/ui/TagManager.tid b/core/ui/TagManager.tid index 3f9631e80..3f972a157 100644 --- a/core/ui/TagManager.tid +++ b/core/ui/TagManager.tid @@ -4,6 +4,8 @@ color: #bbb \define lingo-base() $:/language/TagManager/ \define iconEditorTab(type) +\whitespace trim +<$link to=""><> <$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] -[type[application/pdf]] +[sort[title]] +[$type$is[system]]"> <$link to={{!!title}}> <$transclude/> <$view field="title"/> @@ -11,6 +13,7 @@ color: #bbb \end \define iconEditor(title) +\whitespace trim
<$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=""> @@ -25,6 +28,7 @@ color: #bbb
\end \define toggleButton(state) +\whitespace trim <$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}} @@ -36,6 +40,7 @@ color: #bbb \end +\whitespace trim