2013-11-15 22:55:32 +00:00
|
|
|
title: $:/core/ui/EditTemplate/title
|
|
|
|
tags: $:/tags/EditTemplate
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
<$edit-text field="draft.title" class="tc-titlebar tc-edit-texteditor" focus="true"/>
|
|
|
|
|
2016-05-01 12:56:41 +00:00
|
|
|
<$vars pattern="""[\|\[\]{}]""" bad-chars="""`| [ ] { }`""">
|
2016-03-31 10:14:15 +00:00
|
|
|
|
2018-08-18 13:47:35 +00:00
|
|
|
<$list filter="[all[current]regexp:draft.title<pattern>]" variable="listItem">
|
2016-03-31 10:14:15 +00:00
|
|
|
|
|
|
|
<div class="tc-message-box">
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/BadCharacterWarning}}
|
2016-03-31 10:14:15 +00:00
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
</$vars>
|
|
|
|
|
2016-12-15 17:12:57 +00:00
|
|
|
<$reveal state="!!draft.title" type="nomatch" text={{!!draft.of}} tag="div">
|
|
|
|
|
|
|
|
<$list filter="[{!!draft.title}!is[missing]]" variable="listItem">
|
|
|
|
|
|
|
|
<div class="tc-message-box">
|
|
|
|
|
|
|
|
{{$:/core/images/warning}} {{$:/language/EditTemplate/Title/Exists/Prompt}}
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
<$list filter="[{!!draft.of}!is[missing]]" variable="listItem">
|
|
|
|
|
|
|
|
<$vars fromTitle={{!!draft.of}} toTitle={{!!draft.title}}>
|
|
|
|
|
|
|
|
<$checkbox tiddler="$:/config/RelinkOnRename" field="text" checked="yes" unchecked="no" default="no"> {{$:/language/EditTemplate/Title/Relink/Prompt}}</$checkbox>
|
|
|
|
|
|
|
|
</$vars>
|
|
|
|
|
|
|
|
</$list>
|
|
|
|
|
|
|
|
</$reveal>
|
|
|
|
|
|
|
|
|