mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-09-19 00:00:43 +00:00
Minor tweaks to shadow warning infrastructure
1. Moved some methods out of boot.js because they are not needed until after bootup 2. Added alternate message for editing an overridden shadow tiddler 3. Minor style tweaks
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
title: $:/core/ui/EditTemplate/shadow
|
||||
tags: $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/Shadow/
|
||||
<$list filter="[all[current]get[draft.of]is[shadow]!is[tiddler]]">
|
||||
<div class="tw-message-box">
|
||||
|
||||
<<lingo Warning>>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
|
||||
<$list filter="[all[current]get[draft.of]is[shadow]is[tiddler]]">
|
||||
<div class="tw-message-box">
|
||||
|
||||
<<lingo OverriddenWarning>>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
@@ -1,11 +0,0 @@
|
||||
title: $:/core/ui/EditTemplate/shadowWarning
|
||||
tags: $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/
|
||||
<$list filter="[all[current]get[draft.of]is[shadow]]">
|
||||
<div class="tw-message-box">
|
||||
|
||||
<<lingo Body/ShadowWarning>>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
Reference in New Issue
Block a user