diff --git a/core/ui/EditTemplate/fields.tid b/core/ui/EditTemplate/fields.tid index b1b7f4783..196e8eb08 100644 --- a/core/ui/EditTemplate/fields.tid +++ b/core/ui/EditTemplate/fields.tid @@ -64,6 +64,8 @@ tags: $:/tags/EditTemplate \function tf.primary-list-exceptions() created creator draft.of draft.title modified modifier tags text title type +\function tf.list-selection-class(listSuffix) [get[text]removesuffixmatchthen[tc-list-item-selected]] + <$let newFieldValueTiddlerPrefix={{{ [!is[blank]else] }}} >
@@ -101,7 +103,10 @@ tags: $:/tags/EditTemplate <> - <$let refreshTitle=<> storeTitle=<> searchListState=<>> + <$let refreshTitle=<> + storeTitle=<> + searchListState=<> + >
<$transclude $variable="keyboard-driven-input" cancelPopups="yes" @@ -126,43 +131,31 @@ tags: $:/tags/EditTemplate > {{$:/core/images/down-arrow}} - <$reveal state=<> type="nomatch" text="" default=""> -
- <$let tv-show-missing-links="yes"> - <$linkcatcher to=<>> + <$reveal state=<> type="nomatch" text="" default="" tag="div" class="tc-block-dropdown tc-edit-type-dropdown"> + <$let tv-show-missing-links="yes"> + <$linkcatcher to=<>> +
+ <> +
+ <$let newFieldName={{{ [get[text]] }}} + primaryListFields={{{ [!is[shadow]!is[system]fields[]format:titlelist[]join[ ]] }}} + > + <$list filter="[enlistsearch:titlesort[]] :except[tf.primary-list-exceptions[]]" variable="currentField"> + <$link to=<> class=<> > + <$text text=<>/> + +
- <> + <>
- <$let newFieldName={{{ [get[text]] }}}> - <$list filter="[!is[shadow]!is[system]fields[]search:titlesort[]] :except[tf.primary-list-exceptions[]]" variable="currentField"> - <%if [addsuffix[-primaryList]] :except[get[text]] %> - <$link to=<>> - <$text text=<>/> - - <%else%> - <$link to=<> class="tc-list-item-selected"> - <$text text=<>/> - - <%endif%> - -
- <> -
- <$list filter="[fields[]search:titlesort[]] :except[!is[shadow]!is[system]fields[]]" variable="currentField"> - <%if [addsuffix[-secondaryList]] :except[get[text]] %> - <$link to=<>> - <$text text=<>/> - - <%else%> - <$link to=<> class="tc-list-item-selected"> - <$text text=<>/> - - <%endif%> - - - - -
+ <$list filter="[fields[]search:title!enlistsort[]]" variable="currentField"> + <$link to=<> class=<>> + <$text text=<>/> + + + + +
<$let currentFieldName={{{ [get[text]] }}}