1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-03 14:59:57 +00:00
TiddlyWiki5/core/ui/EditTemplate/shadow.tid
Jermolene d0ca776edb Improve edit info banner for shadow tiddlers
Add the name of the plugin that contains the shadow tiddler
2015-11-05 12:33:20 +00:00

39 lines
781 B
Plaintext

title: $:/core/ui/EditTemplate/shadow
tags: $:/tags/EditTemplate
\define lingo-base() $:/language/EditTemplate/Shadow/
\define pluginLinkBody()
<$link to="""$(pluginTitle)$""">
<$text text="""$(pluginTitle)$"""/>
</$link>
\end
<$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]">
<$list filter="[all[current]shadowsource[]]" variable="pluginTitle">
<$set name="pluginLink" value=<<pluginLinkBody>>>
<div class="tc-message-box">
<<lingo Warning>>
</div>
</$set>
</$list>
</$list>
<$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]">
<$list filter="[all[current]shadowsource[]]" variable="pluginTitle">
<$set name="pluginLink" value=<<pluginLinkBody>>>
<div class="tc-message-box">
<<lingo OverriddenWarning>>
</div>
</$list>
</$list>
</$list>