-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use v5.3.x syntax for $:/core/ui/PageTemplate/pagecontrols (#8088)
- Loading branch information
Showing
2 changed files
with
8 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,14 @@ | ||
title: $:/core/ui/PageTemplate/pagecontrols | ||
|
||
\whitespace trim | ||
\define config-title() $:/config/PageControlButtons/Visibility/$(listItem)$ | ||
\function config-title() [[$:/config/PageControlButtons/Visibility/$(listItem)$]substitute[]] | ||
|
||
<div class="tc-page-controls"> | ||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]]" variable="listItem"> | ||
<$set name="hidden" value=<<config-title>>> | ||
<$list filter="[<hidden>!text[hide]]" storyview="pop" variable="ignore"> | ||
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"> | ||
<$transclude tiddler=<<listItem>> mode="inline"/> | ||
</$set> | ||
</$list> | ||
</$set> | ||
<$list filter="[<config-title>!text[hide]]" storyview="pop" variable="ignore"> | ||
<$let tv-config-toolbar-class={{{ [enlist<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]] +[join[ ]] }}}> | ||
<$transclude $tiddler=<<listItem>> $mode="inline"/> | ||
</$let> | ||
</$list> | ||
</$list> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters