diff --git a/core/templates/save-all.tid b/core/templates/save-all.tid index 2c60bacab..563e6c7e4 100644 --- a/core/templates/save-all.tid +++ b/core/templates/save-all.tid @@ -1,6 +1,6 @@ title: $:/core/save/all \define saveTiddlerFilter() -[is[tiddler]] -[prefix[$:/state/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] +[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] \end {{$:/core/templates/tiddlywiki5.html}} diff --git a/core/templates/save-empty.tid b/core/templates/save-empty.tid index ba44b52e6..6f0da4822 100644 --- a/core/templates/save-empty.tid +++ b/core/templates/save-empty.tid @@ -1,6 +1,6 @@ title: $:/core/save/empty \define saveTiddlerFilter() -[is[system]] -[prefix[$:/state/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] +[is[system]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] +[sort[title]] \end {{$:/core/templates/tiddlywiki5.html}} diff --git a/core/templates/save-lazy-images.tid b/core/templates/save-lazy-images.tid index aa89b6587..b891cf83d 100644 --- a/core/templates/save-lazy-images.tid +++ b/core/templates/save-lazy-images.tid @@ -1,6 +1,6 @@ title: $:/core/save/lazy-images \define saveTiddlerFilter() -[is[tiddler]] -[prefix[$:/state/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]] +[is[tiddler]] -[prefix[$:/state/popup/]] -[[$:/boot/boot.css]] -[type[application/javascript]library[yes]] -[[$:/boot/boot.js]] -[[$:/boot/bootprefix.js]] -[!is[system]is[image]] +[sort[title]] \end {{$:/core/templates/tiddlywiki5.html}} diff --git a/core/ui/EditTemplate/tags.tid b/core/ui/EditTemplate/tags.tid index e8a68c4b4..5c9c15ca6 100644 --- a/core/ui/EditTemplate/tags.tid +++ b/core/ui/EditTemplate/tags.tid @@ -15,8 +15,8 @@ background-color:$(backgroundColor)$;
-<$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<> class="tw-edit-texteditor"/> - <$button popup=<> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} +<$edit-text tiddler="$:/temp/NewTagName" tag="input" default="" placeholder={{$:/language/EditTemplate/Tags/Add/Placeholder}} focusPopup=<> class="tw-edit-texteditor"/> + <$button popup=<> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tw-add-tag" param={{$:/temp/NewTagName}} set="$:/temp/NewTagName" setTo="" class=""> <> @@ -25,7 +25,7 @@ background-color:$(backgroundColor)$;
-<$reveal state=<> type="nomatch" text="" default=""> +<$reveal state=<> type="nomatch" text="" default="">
diff --git a/core/ui/EditTemplate/type.tid b/core/ui/EditTemplate/type.tid index ed4f89315..476d42cc3 100644 --- a/core/ui/EditTemplate/type.tid +++ b/core/ui/EditTemplate/type.tid @@ -2,10 +2,10 @@ title: $:/core/ui/EditTemplate/type tags: $:/tags/EditTemplate \define lingo-base() $:/language/EditTemplate/ -

<$fieldmangler><> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<> class="tw-edit-typeeditor"/> <$button popup=<> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tw-remove-field" param="type" class="btn-invisible btn-icon">{{$:/core/images/delete-button}}

+

<$fieldmangler><> <$edit-text field="type" tag="input" default="" placeholder={{$:/language/EditTemplate/Type/Placeholder}} focusPopup=<> class="tw-edit-typeeditor"/> <$button popup=<> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} <$button message="tw-remove-field" param="type" class="btn-invisible btn-icon">{{$:/core/images/delete-button}}

-<$reveal state=<> type="nomatch" text="" default=""> +<$reveal state=<> type="nomatch" text="" default="">
<$linkcatcher to="!!type"> <$list filter='[all[shadows+tiddlers]prefix[$:/language/Docs/Types/]each[group]sort[group]]'> diff --git a/core/ui/MissingTemplate.tid b/core/ui/MissingTemplate.tid index 5e2d36bd7..11b387547 100644 --- a/core/ui/MissingTemplate.tid +++ b/core/ui/MissingTemplate.tid @@ -1,10 +1,10 @@ title: $:/core/ui/MissingTemplate
-<$button popup=<> class="btn-invisible tw-missing-tiddler-label"> +<$button popup=<> class="btn-invisible tw-missing-tiddler-label"> <$view field="title" format="text" /> -<$reveal state=<> type="popup" position="below" animate="yes"> +<$reveal state=<> type="popup" position="below" animate="yes">
<$transclude tiddler="$:/core/ui/ListItemTemplate"/>
diff --git a/core/ui/TagManager.tid b/core/ui/TagManager.tid index 0bb7a7cb9..d6434c4d1 100644 --- a/core/ui/TagManager.tid +++ b/core/ui/TagManager.tid @@ -2,9 +2,9 @@ title: $:/TagManager \define lingo-base() $:/language/TagManager/ \define iconEditor(title) -<$edit-text field="icon" tag="input" size="20"/> <$button popup=<> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}} +<$edit-text field="icon" tag="input" size="20"/> <$button popup=<> class="btn-invisible btn-dropdown">{{$:/core/images/down-arrow}}
-<$reveal state=<> type="nomatch" text="" default=""> +<$reveal state=<> type="nomatch" text="" default=""> <$linkcatcher to="$title$!!icon">
<$list filter="[all[shadows+tiddlers]is[image]] [all[shadows+tiddlers]tag[$:/tags/Image]] +[sort[title]]"> diff --git a/core/ui/TagTemplate.tid b/core/ui/TagTemplate.tid index 0767a5d69..b5111f891 100644 --- a/core/ui/TagTemplate.tid +++ b/core/ui/TagTemplate.tid @@ -5,11 +5,11 @@ background-color:$(backgroundColor)$; \end <$set name="backgroundColor" value={{!!color}}> -<$button popup=<> class="btn-invisible tw-tag-label" style=<>> +<$button popup=<> class="btn-invisible tw-tag-label" style=<>> <$transclude tiddler={{!!icon}}/> <$view field="title" format="text" /> -<$reveal state=<> type="popup" position="below" animate="yes">
<$transclude tiddler="$:/core/ui/ListItemTemplate"/> +<$reveal state=<> type="popup" position="below" animate="yes">
<$transclude tiddler="$:/core/ui/ListItemTemplate"/>
<$list filter="[all[current]tagging[]]" template="$:/core/ui/ListItemTemplate"/>
diff --git a/core/ui/UntaggedTemplate.tid b/core/ui/UntaggedTemplate.tid index 3bc170c8c..0318241f6 100644 --- a/core/ui/UntaggedTemplate.tid +++ b/core/ui/UntaggedTemplate.tid @@ -1,10 +1,10 @@ title: $:/core/ui/UntaggedTemplate \define lingo-base() $:/language/SideBar/ -<$button popup=<> class="btn-invisible tw-untagged-label tw-tag-label"> +<$button popup=<> class="btn-invisible tw-untagged-label tw-tag-label"> <> -<$reveal state=<> type="popup" position="below"> +<$reveal state=<> type="popup" position="below">
<$list filter="[untagged[]!is[system]] -[tags[]] +[sort[title]]" template="$:/core/ui/ListItemTemplate"/>
diff --git a/core/ui/ViewTemplate.tid b/core/ui/ViewTemplate.tid index 717b00699..a18a0ab62 100644 --- a/core/ui/ViewTemplate.tid +++ b/core/ui/ViewTemplate.tid @@ -3,6 +3,6 @@ title: $:/core/ui/ViewTemplate \define frame-classes() tw-tiddler-frame tw-tiddler-view-frame $(missingTiddlerClass)$ $(shadowTiddlerClass)$ $(systemTiddlerClass)$ \end -<$set name="storyTiddler" value=<>><$set name="tiddlerInfoState" value=<>><$tiddler tiddler=<>>
>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<>/> +<$set name="storyTiddler" value=<>><$set name="tiddlerInfoState" value=<>><$tiddler tiddler=<>>
>><$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate]!has[draft.of]]" variable="listItem"><$transclude tiddler=<>/>