mirror of
https://github.com/TiddlyWiki/TiddlyWiki5.git
synced 2026-04-27 16:04:47 +00:00
Move shadowWarning to it's own template segment
This commit is contained in:
@@ -2,14 +2,6 @@ title: $:/core/ui/EditTemplate/body
|
||||
tags: $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/
|
||||
<$list filter="[all[current]is[shadow]]">
|
||||
<div class="tw-message-box">
|
||||
|
||||
<<lingo Body/ShadowWarning>>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
|
||||
<$reveal state="$:/ShowEditPreview" type="match" text="yes">
|
||||
|
||||
<em class="tw-edit"><<lingo Body/Hint>></em> <$button type="set" set="$:/ShowEditPreview" setTo="no"><<lingo Body/Preview/Button/Hide>></$button>
|
||||
|
||||
11
core/ui/EditTemplate/shadowWarning.tid
Normal file
11
core/ui/EditTemplate/shadowWarning.tid
Normal file
@@ -0,0 +1,11 @@
|
||||
title: $:/core/ui/EditTemplate/shadowWarning
|
||||
tags: $:/tags/EditTemplate
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/
|
||||
<$list filter="[all[current]is[shadow]]">
|
||||
<div class="tw-message-box">
|
||||
|
||||
<<lingo Body/ShadowWarning>>
|
||||
|
||||
</div>
|
||||
</$list>
|
||||
Reference in New Issue
Block a user