mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-30 05:19:57 +00:00
refactor: format
This commit is contained in:
parent
4fb841b6cf
commit
9298e2d70b
@ -2,9 +2,22 @@ title: $:/core/ui/EditTemplate/type
|
||||
tags: $:/tags/EditTemplate
|
||||
first-search-filter: [all[shadows+tiddlers]prefix[$:/language/Docs/Types/]sort[description]sort[group-sort]removeprefix[$:/language/Docs/Types/]search<userInput>]
|
||||
|
||||
\define lingo-base() $:/language/EditTemplate/
|
||||
\define input-cancel-actions() <$list filter="[<storeTitle>get[text]] [<currentTiddler>get[type]] +[limit[1]]" emptyMessage="""<<cancel-delete-tiddler-actions "cancel">>"""><$action-sendmessage $message="tm-remove-field" $param="type"/><$action-deletetiddler $filter="[<typeInputTiddler>] [<refreshTitle>] [<typeSelectionTiddler>]"/></$list>
|
||||
\whitespace trim
|
||||
\procedure lingo-base() $:/language/EditTemplate/
|
||||
\procedure input-cancel-actions()
|
||||
<$list
|
||||
filter="[<storeTitle>get[text]] [<currentTiddler>get[type]] +[limit[1]]"
|
||||
emptyMessage="""<<cancel-delete-tiddler-actions "cancel">>"""
|
||||
>
|
||||
<$action-sendmessage
|
||||
$message="tm-remove-field"
|
||||
$param="type"
|
||||
/>
|
||||
<$action-deletetiddler
|
||||
$filter="[<typeInputTiddler>] [<refreshTitle>] [<typeSelectionTiddler>]"
|
||||
/>
|
||||
</$list>
|
||||
\end
|
||||
<$set name="refreshTitle" value=<<qualify "$:/temp/type-search/refresh">>>
|
||||
<div class="tc-edit-type-selector-wrapper">
|
||||
<em class="tc-edit tc-small-gap-right"><<lingo Type/Prompt>></em>
|
||||
|
Loading…
Reference in New Issue
Block a user