mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-01-11 18:00:26 +00:00
Add warning box while editing a shadow tiddler
This addresses the third line item of issue #570 TODO: The filter is not working. TODO: The message is too genaric and needs help.
This commit is contained in:
parent
d0636f2124
commit
3be21853e1
@ -4,6 +4,7 @@ Body/Hint: Use [[wiki text|http://tiddlywiki.com/static/WikiText.html]] to add f
|
|||||||
Body/Placeholder: Type the text for this tiddler
|
Body/Placeholder: Type the text for this tiddler
|
||||||
Body/Preview/Button/Hide: hide preview
|
Body/Preview/Button/Hide: hide preview
|
||||||
Body/Preview/Button/Show: show preview
|
Body/Preview/Button/Show: show preview
|
||||||
|
Body/ShadowWarning: You are editing a shadow tiddler. Any changes will override the default version.
|
||||||
Fields/Add/Button: add
|
Fields/Add/Button: add
|
||||||
Fields/Add/Name/Placeholder: field name
|
Fields/Add/Name/Placeholder: field name
|
||||||
Fields/Add/Prompt: Add a new field:
|
Fields/Add/Prompt: Add a new field:
|
||||||
|
@ -2,6 +2,14 @@ title: $:/core/ui/EditTemplate/body
|
|||||||
tags: $:/tags/EditTemplate
|
tags: $:/tags/EditTemplate
|
||||||
|
|
||||||
\define lingo-base() $:/language/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">
|
<$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>
|
<em class="tw-edit"><<lingo Body/Hint>></em> <$button type="set" set="$:/ShowEditPreview" setTo="no"><<lingo Body/Preview/Button/Hide>></$button>
|
||||||
|
Loading…
Reference in New Issue
Block a user