mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-23 10:07:19 +00:00
Move shadowWarning to it's own template segment
This commit is contained in:
parent
8556e0ea49
commit
3bbe53a58e
@ -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>
|
@ -1,2 +1,2 @@
|
||||
title: $:/tags/EditTemplate
|
||||
list: [[$:/core/ui/EditTemplate/controls]] [[$:/core/ui/EditTemplate/title]] [[$:/core/ui/EditTemplate/tags]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/EditTemplate/body]] [[$:/core/ui/EditTemplate/type]] [[$:/core/ui/EditTemplate/fields]]
|
||||
list: [[$:/core/ui/EditTemplate/controls]] [[$:/core/ui/EditTemplate/title]] [[$:/core/ui/EditTemplate/tags]] [[$:/core/ui/EditTemplate/shadowWarning]] [[$:/core/ui/ViewTemplate/classic]] [[$:/core/ui/EditTemplate/body]] [[$:/core/ui/EditTemplate/type]] [[$:/core/ui/EditTemplate/fields]]
|
||||
|
Loading…
Reference in New Issue
Block a user