2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/body
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2014-06-12 07:36:30 +00:00
|
|
|
\define lingo-base() $:/language/EditTemplate/Body/
|
|
|
|
<$list filter="[is[current]has[_canonical_uri]]">
|
|
|
|
|
2014-08-28 18:13:21 +00:00
|
|
|
<div class="tc-message-box">
|
2014-06-12 07:36:30 +00:00
|
|
|
|
|
|
|
<<lingo External/Hint>>
|
|
|
|
|
|
|
|
<a href={{!!_canonical_uri}}><$text text={{!!_canonical_uri}}/></a>
|
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
<$edit-text field="_canonical_uri" class="tc-edit-fields"></$edit-text>
|
2014-06-12 07:36:30 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
<$list filter="[is[current]!has[_canonical_uri]]">
|
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<$reveal state="$:/state/showeditpreview" type="match" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
<em class="tc-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="no"><<lingo Preview/Button/Hide>></$button>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
<div class="tc-tiddler-preview">
|
|
|
|
<div class="tc-tiddler-preview-preview">
|
2015-06-20 08:33:11 +00:00
|
|
|
<$set name="tv-tiddler-preview" value="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
<$transclude />
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2015-06-20 08:33:11 +00:00
|
|
|
</$set>
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-08-28 17:59:35 +00:00
|
|
|
<div class="tc-tiddler-preview-edit">
|
2014-08-28 17:47:21 +00:00
|
|
|
<$edit field="text" class="tc-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</div>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-05-16 05:47:21 +00:00
|
|
|
<$reveal state="$:/state/showeditpreview" type="nomatch" text="yes">
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2014-08-28 17:47:21 +00:00
|
|
|
<em class="tc-edit"><<lingo Hint>></em> <$button type="set" set="$:/state/showeditpreview" setTo="yes"><<lingo Preview/Button/Show>></$button>
|
|
|
|
<$edit field="text" class="tc-edit-texteditor" placeholder={{$:/language/EditTemplate/Body/Placeholder}}/>
|
2014-02-20 21:42:31 +00:00
|
|
|
|
2013-11-15 22:55:32 +00:00
|
|
|
</$reveal>
|
2014-06-12 07:36:30 +00:00
|
|
|
|
|
|
|
</$list>
|