From 73c30716dc5de5950c341856337da2d8d6db0c35 Mon Sep 17 00:00:00 2001 From: Jermolene Date: Sat, 8 Feb 2014 17:29:42 +0000 Subject: [PATCH] Unlinkify the current theme name MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Having it link to the underlying plugin tiddler isn’t very useful --- core/wiki/minithemeswitcher.tid | 2 +- core/wiki/themeswitcher.tid | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/wiki/minithemeswitcher.tid b/core/wiki/minithemeswitcher.tid index 17111ee5c..a301f01a6 100644 --- a/core/wiki/minithemeswitcher.tid +++ b/core/wiki/minithemeswitcher.tid @@ -1,6 +1,6 @@ title: $:/snippets/minithemeswitcher -Current theme: <$link to={{$:/theme}}><$view tiddler={{$:/theme}} field="name"/> +Current theme: <$view tiddler={{$:/theme}} field="name"/> <$linkcatcher to="$:/theme"> <$list filter="[plugin-type[theme]sort[title]]">
<$reveal state="$:/theme" type="match" text={{!!title}}>•<$reveal state="$:/theme" type="nomatch" text={{!!title}}>  <$link to={{!!title}}><$view field="name" format="text"/>
diff --git a/core/wiki/themeswitcher.tid b/core/wiki/themeswitcher.tid index d3bd79e78..9b9a301ad 100644 --- a/core/wiki/themeswitcher.tid +++ b/core/wiki/themeswitcher.tid @@ -1,6 +1,6 @@ title: $:/snippets/themeswitcher -Current theme: <$link to={{$:/theme}}><$view tiddler={{$:/theme}} field="name"/> +Current theme: <$view tiddler={{$:/theme}} field="name"/> <$linkcatcher to="$:/theme"> <$list filter="[plugin-type[theme]sort[title]]">
<$reveal state="$:/theme" type="match" text={{!!title}}>•<$reveal state="$:/theme" type="nomatch" text={{!!title}}>  <$link to={{!!title}}>''<$view field="name" format="text"/>'' <$view field="description" format="text"/>