mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-10-03 22:51:43 +00:00
Improve edit info banner for shadow tiddlers
Add the name of the plugin that contains the shadow tiddler
This commit is contained in:
@@ -2,18 +2,37 @@ 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>
|
||||
|
||||
Reference in New Issue
Block a user