1
0
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:
Devin Weaver 2014-04-27 11:38:14 -04:00
parent 8556e0ea49
commit 3bbe53a58e
3 changed files with 12 additions and 9 deletions

View File

@ -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>

View 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>

View File

@ -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]]