mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-10 20:09:57 +00:00
Update PageControls buttons to use v5.3.2 syntax (#8579)
* Let PageControls buttons use v5.3.2 syntax * Rewrite buttons and actions * Omit whitespace & use function to avoid duplicating * Omit whitespace in conditional syntax * Define tf.get-tags function to avoid duplicated text substitution * Rewrite advanced search button * Add space in join operator * Rewrite buttons in plugins * Remove tf prefix in new-journal.tid * Remove tf prefix in new-tiddler.tid
This commit is contained in:
parent
1368cd67ca
commit
eaf8558595
@ -2,10 +2,10 @@ title: $:/core/ui/Actions/new-journal
|
|||||||
tags: $:/tags/Actions
|
tags: $:/tags/Actions
|
||||||
description: create a new journal tiddler
|
description: create a new journal tiddler
|
||||||
|
|
||||||
\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$vars journalTitleTemplate={{$:/config/NewJournal/Title}} textFieldTags={{$:/config/NewJournal/Tags}} tagsFieldTags={{$:/config/NewJournal/Tags!!tags}} journalText={{$:/config/NewJournal/Text}}>
|
\function get-tags() [<textFieldTags>] [<tagsFieldTags>] +[join[ ]]
|
||||||
<$wikify name="journalTitle" text="<$macrocall $name='now' format=<<journalTitleTemplate>>/>">
|
<$let journalTitleTemplate={{$:/config/NewJournal/Title}} textFieldTags={{$:/config/NewJournal/Tags}} tagsFieldTags={{$:/config/NewJournal/Tags!!tags}} journalText={{$:/config/NewJournal/Text}}>
|
||||||
|
<$wikify name="journalTitle" text="<$transclude $variable='now' format=<<journalTitleTemplate>>/>">
|
||||||
<$reveal type="nomatch" state=<<journalTitle>> text="">
|
<$reveal type="nomatch" state=<<journalTitle>> text="">
|
||||||
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<get-tags>> text={{{ [<journalTitle>get[]] }}}/>
|
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<get-tags>> text={{{ [<journalTitle>get[]] }}}/>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
@ -13,4 +13,4 @@ description: create a new journal tiddler
|
|||||||
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<get-tags>> text=<<journalText>>/>
|
<$action-sendmessage $message="tm-new-tiddler" title=<<journalTitle>> tags=<<get-tags>> text=<<journalText>>/>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
</$wikify>
|
</$wikify>
|
||||||
</$vars>
|
</$let>
|
||||||
|
@ -2,8 +2,8 @@ title: $:/core/ui/Actions/new-tiddler
|
|||||||
tags: $:/tags/Actions
|
tags: $:/tags/Actions
|
||||||
description: create a new empty tiddler
|
description: create a new empty tiddler
|
||||||
|
|
||||||
\define get-tags() $(textFieldTags)$ $(tagsFieldTags)$
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$vars textFieldTags={{$:/config/NewTiddler/Tags}} tagsFieldTags={{$:/config/NewTiddler/Tags!!tags}}>
|
\function get-tags() [<textFieldTags>] [<tagsFieldTags>] +[join[ ]]
|
||||||
|
<$let textFieldTags={{$:/config/NewTiddler/Tags}} tagsFieldTags={{$:/config/NewTiddler/Tags!!tags}}>
|
||||||
<$action-sendmessage $message="tm-new-tiddler" tags=<<get-tags>>/>
|
<$action-sendmessage $message="tm-new-tiddler" tags=<<get-tags>>/>
|
||||||
</$vars>
|
</$let>
|
||||||
|
@ -4,15 +4,14 @@ caption: {{$:/core/images/advanced-search-button}} {{$:/language/Buttons/Advance
|
|||||||
description: {{$:/language/Buttons/AdvancedSearch/Hint}}
|
description: {{$:/language/Buttons/AdvancedSearch/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define advanced-search-button(class)
|
\procedure advanced-search-button(class)
|
||||||
\whitespace trim
|
<$button to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>
|
||||||
<$button to="$:/AdvancedSearch" tooltip={{$:/language/Buttons/AdvancedSearch/Hint}} aria-label={{$:/language/Buttons/AdvancedSearch/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
||||||
{{$:/core/images/advanced-search-button}}
|
{{$:/core/images/advanced-search-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/AdvancedSearch/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/CloseAll/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-close-all-tiddlers" tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-close-all-tiddlers" tooltip={{$:/language/Buttons/CloseAll/Hint}} aria-label={{$:/language/Buttons/CloseAll/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/close-all-button}}
|
{{$:/core/images/close-all-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/CloseAll/Caption}}/>
|
<$text text={{$:/language/Buttons/CloseAll/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -4,15 +4,14 @@ caption: {{$:/core/images/options-button}} {{$:/language/Buttons/ControlPanel/Ca
|
|||||||
description: {{$:/language/Buttons/ControlPanel/Hint}}
|
description: {{$:/language/Buttons/ControlPanel/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define control-panel-button(class)
|
\procedure control-panel-button(class)
|
||||||
\whitespace trim
|
<$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>
|
||||||
<$button to="$:/ControlPanel" tooltip={{$:/language/Buttons/ControlPanel/Hint}} aria-label={{$:/language/Buttons/ControlPanel/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
||||||
{{$:/core/images/options-button}}
|
{{$:/core/images/options-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/ControlPanel/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
@ -6,25 +6,25 @@ description: {{$:/language/Buttons/Encryption/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
<$reveal type="match" state="$:/isEncrypted" text="yes">
|
||||||
<$button message="tm-clear-password" tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-clear-password" tooltip={{$:/language/Buttons/Encryption/ClearPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/ClearPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/locked-padlock}}
|
{{$:/core/images/locked-padlock}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>
|
<$text text={{$:/language/Buttons/Encryption/ClearPassword/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
<$reveal type="nomatch" state="$:/isEncrypted" text="yes">
|
||||||
<$button message="tm-set-password" tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-set-password" tooltip={{$:/language/Buttons/Encryption/SetPassword/Hint}} aria-label={{$:/language/Buttons/Encryption/SetPassword/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/unlocked-padlock}}
|
{{$:/core/images/unlocked-padlock}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>
|
<$text text={{$:/language/Buttons/Encryption/SetPassword/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
@ -3,4 +3,4 @@ tags: $:/tags/PageControls
|
|||||||
caption: {{$:/core/images/export-button}} {{$:/language/Buttons/ExportPage/Caption}}
|
caption: {{$:/core/images/export-button}} {{$:/language/Buttons/ExportPage/Caption}}
|
||||||
description: {{$:/language/Buttons/ExportPage/Hint}}
|
description: {{$:/language/Buttons/ExportPage/Hint}}
|
||||||
|
|
||||||
<$macrocall $name="exportButton" exportFilter="[!is[system]sort[title]]" lingoBase="$:/language/Buttons/ExportPage/"/>
|
<$transclude $variable="exportButton" exportFilter="[!is[system]sort[title]]" lingoBase="$:/language/Buttons/ExportPage/"/>
|
@ -6,12 +6,12 @@ description: {{$:/language/Buttons/FoldAll/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/FoldAll/Hint}} aria-label={{$:/language/Buttons/FoldAll/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/FoldAll/Hint}} aria-label={{$:/language/Buttons/FoldAll/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-fold-all-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
|
<$action-sendmessage $message="tm-fold-all-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]" variable="listItem">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/fold-all-button}}
|
{{$:/core/images/fold-all-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/FoldAll/Caption}}/>
|
<$text text={{$:/language/Buttons/FoldAll/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/FullScreen/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-full-screen" tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-full-screen" tooltip={{$:/language/Buttons/FullScreen/Hint}} aria-label={{$:/language/Buttons/FullScreen/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/full-screen-button}}
|
{{$:/core/images/full-screen-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/FullScreen/Caption}}/>
|
<$text text={{$:/language/Buttons/FullScreen/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/Home/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-home" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-home" tooltip={{$:/language/Buttons/Home/Hint}} aria-label={{$:/language/Buttons/Home/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/home-button}}
|
{{$:/core/images/home-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Home/Caption}}/>
|
<$text text={{$:/language/Buttons/Home/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -6,14 +6,14 @@ description: {{$:/language/Buttons/Import/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<div class="tc-file-input-wrapper">
|
<div class="tc-file-input-wrapper">
|
||||||
<$button tooltip={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/Import/Hint}} aria-label={{$:/language/Buttons/Import/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/import-button}}
|
{{$:/core/images/import-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Import/Caption}}/>
|
<$text text={{$:/language/Buttons/Import/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
<$browse tooltip={{$:/language/Buttons/Import/Hint}}/>
|
<$browse tooltip={{$:/language/Buttons/Import/Hint}}/>
|
||||||
</div>
|
</div>
|
||||||
|
@ -4,21 +4,18 @@ caption: {{$:/core/images/globe}} {{$:/language/Buttons/Language/Caption}}
|
|||||||
description: {{$:/language/Buttons/Language/Hint}}
|
description: {{$:/language/Buttons/Language/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define flag-title()
|
|
||||||
$(languagePluginTitle)$/icon
|
|
||||||
\end
|
|
||||||
<span class="tc-popup-keep">
|
<span class="tc-popup-keep">
|
||||||
<$button popup=<<qualify "$:/state/popup/language">> tooltip={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
<$button popup=<<qualify "$:/state/popup/language">> tooltip={{$:/language/Buttons/Language/Hint}} aria-label={{$:/language/Buttons/Language/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<span class="tc-image-button">
|
<span class="tc-image-button">
|
||||||
<$set name="languagePluginTitle" value={{$:/language}}>
|
<$set name="languagePluginTitle" value={{$:/language}}>
|
||||||
<$image source=<<flag-title>>/>
|
<$image source=`$(languagePluginTitle)$/icon`/>
|
||||||
</$set>
|
</$set>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Language/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Language/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</span>
|
</span>
|
||||||
<$reveal state=<<qualify "$:/state/popup/language">> type="popup" position="below" animate="yes">
|
<$reveal state=<<qualify "$:/state/popup/language">> type="popup" position="below" animate="yes">
|
||||||
|
@ -6,10 +6,10 @@ description: {{$:/language/LayoutSwitcher/Description}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/LayoutSwitcher/Hint}} aria-label={{$:/language/Buttons/LayoutSwitcher/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/LayoutSwitcher/Hint}} aria-label={{$:/language/Buttons/LayoutSwitcher/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-show-switcher" switch="layout"/>
|
<$action-sendmessage $message="tm-show-switcher" switch="layout"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/layout-button}}
|
{{$:/core/images/layout-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/LayoutSwitcher/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/LayoutSwitcher/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -4,17 +4,16 @@ caption: {{$:/core/images/list}} {{$:/language/Buttons/Manager/Caption}}
|
|||||||
description: {{$:/language/Buttons/Manager/Hint}}
|
description: {{$:/language/Buttons/Manager/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define manager-button(class)
|
\procedure manager-button(class)
|
||||||
\whitespace trim
|
<$button to="$:/Manager" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>
|
||||||
<$button to="$:/Manager" tooltip={{$:/language/Buttons/Manager/Hint}} aria-label={{$:/language/Buttons/Manager/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
||||||
{{$:/core/images/list}}
|
{{$:/core/images/list}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Manager/Caption}}/>
|
<$text text={{$:/language/Buttons/Manager/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
@ -12,33 +12,29 @@ description: {{$:/language/Buttons/More/Hint}}
|
|||||||
class=<<tv-config-toolbar-class>>
|
class=<<tv-config-toolbar-class>>
|
||||||
selectedClass="tc-selected"
|
selectedClass="tc-selected"
|
||||||
>
|
>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/down-arrow}}
|
{{$:/core/images/down-arrow}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/More/Caption}}/>
|
<$text text={{$:/language/Buttons/More/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
|
<$reveal state=<<qualify "$:/state/popup/more">> type="popup" position="below" animate="yes">
|
||||||
<div class="tc-drop-down">
|
<div class="tc-drop-down">
|
||||||
<$set name="tv-config-toolbar-icons" value="yes">
|
<$let tv-config-toolbar-icons="yes" tv-config-toolbar-text="yes" tv-config-toolbar-class="tc-btn-invisible">
|
||||||
<$set name="tv-config-toolbar-text" value="yes">
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]"
|
||||||
<$set name="tv-config-toolbar-class" value="tc-btn-invisible">
|
variable="listItem"
|
||||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/PageControls]!has[draft.of]] -[[$:/core/ui/Buttons/more-page-actions]]"
|
>
|
||||||
variable="listItem"
|
<$reveal type="match" state=<<config-title>> text="hide">
|
||||||
|
<$set name="tv-config-toolbar-class"
|
||||||
|
filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"
|
||||||
>
|
>
|
||||||
<$reveal type="match" state=<<config-title>> text="hide">
|
<$transclude tiddler=<<listItem>> mode="inline"/>
|
||||||
<$set name="tv-config-toolbar-class"
|
</$set>
|
||||||
filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"
|
</$reveal>
|
||||||
>
|
</$list>
|
||||||
<$transclude tiddler=<<listItem>> mode="inline"/>
|
</$let>
|
||||||
</$set>
|
|
||||||
</$reveal>
|
|
||||||
</$list>
|
|
||||||
</$set>
|
|
||||||
</$set>
|
|
||||||
</$set>
|
|
||||||
</div>
|
</div>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/NetworkActivity/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-http-cancel-all-requests" tooltip={{$:/language/Buttons/NetworkActivity/Hint}} aria-label={{$:/language/Buttons/NetworkActivity/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-http-cancel-all-requests" tooltip={{$:/language/Buttons/NetworkActivity/Hint}} aria-label={{$:/language/Buttons/NetworkActivity/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/network-activity}}
|
{{$:/core/images/network-activity}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/NetworkActivity/Caption}}/>
|
<$text text={{$:/language/Buttons/NetworkActivity/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/NewImage/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/NewImage/Hint}} aria-label={{$:/language/Buttons/NewImage/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-image}}>
|
<$button tooltip={{$:/language/Buttons/NewImage/Hint}} aria-label={{$:/language/Buttons/NewImage/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-image}}>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/new-image-button}}
|
{{$:/core/images/new-image-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/NewImage/Caption}}/>
|
<$text text={{$:/language/Buttons/NewImage/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -4,17 +4,16 @@ caption: {{$:/core/images/new-journal-button}} {{$:/language/Buttons/NewJournal/
|
|||||||
description: {{$:/language/Buttons/NewJournal/Hint}}
|
description: {{$:/language/Buttons/NewJournal/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define journalButton()
|
\procedure journalButton()
|
||||||
\whitespace trim
|
|
||||||
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-journal}}>
|
<$button tooltip={{$:/language/Buttons/NewJournal/Hint}} aria-label={{$:/language/Buttons/NewJournal/Caption}} class=<<tv-config-toolbar-class>> actions={{$:/core/ui/Actions/new-journal}}>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/new-journal-button}}
|
{{$:/core/images/new-journal-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/NewJournal/Caption}}/>
|
<$text text={{$:/language/Buttons/NewJournal/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
<<journalButton>>
|
<<journalButton>>
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/NewTiddler/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button actions={{$:/core/ui/Actions/new-tiddler}} tooltip={{$:/language/Buttons/NewTiddler/Hint}} aria-label={{$:/language/Buttons/NewTiddler/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/new-button}}
|
{{$:/core/images/new-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/NewTiddler/Caption}}/>
|
<$text text={{$:/language/Buttons/NewTiddler/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -6,12 +6,12 @@ description: {{$:/language/Buttons/Palette/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<span class="tc-popup-keep">
|
<span class="tc-popup-keep">
|
||||||
<$button popup=<<qualify "$:/state/popup/palette">> tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
<$button popup=<<qualify "$:/state/popup/palette">> tooltip={{$:/language/Buttons/Palette/Hint}} aria-label={{$:/language/Buttons/Palette/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/palette}}
|
{{$:/core/images/palette}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Palette/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</span>
|
</span>
|
||||||
<$reveal state=<<qualify "$:/state/popup/palette">> type="popup" position="below" animate="yes">
|
<$reveal state=<<qualify "$:/state/popup/palette">> type="popup" position="below" animate="yes">
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/Print/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-print" tooltip={{$:/language/Buttons/Print/Hint}} aria-label={{$:/language/Buttons/Print/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-print" tooltip={{$:/language/Buttons/Print/Hint}} aria-label={{$:/language/Buttons/Print/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/print-button}}
|
{{$:/core/images/print-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Print/Caption}}/>
|
<$text text={{$:/language/Buttons/Print/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -5,12 +5,12 @@ description: {{$:/language/Buttons/Refresh/Hint}}
|
|||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button message="tm-browser-refresh" tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button message="tm-browser-refresh" tooltip={{$:/language/Buttons/Refresh/Hint}} aria-label={{$:/language/Buttons/Refresh/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/refresh-button}}
|
{{$:/core/images/refresh-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Refresh/Caption}}/>
|
<$text text={{$:/language/Buttons/Refresh/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -9,13 +9,13 @@ description: {{$:/language/Buttons/SaveWiki/Hint}}
|
|||||||
<$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>
|
<$action-sendmessage $message="tm-save-wiki" $param={{$:/config/SaveWikiButton/Template}} filename=<<site-title>>/>
|
||||||
</$wikify>
|
</$wikify>
|
||||||
<span class="tc-dirty-indicator">
|
<span class="tc-dirty-indicator">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/save-button-dynamic}}
|
{{$:/core/images/save-button-dynamic}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
|
<$text text={{$:/language/Buttons/SaveWiki/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</span>
|
</span>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -4,19 +4,16 @@ caption: {{$:/core/images/storyview-classic}} {{$:/language/Buttons/StoryView/Ca
|
|||||||
description: {{$:/language/Buttons/StoryView/Hint}}
|
description: {{$:/language/Buttons/StoryView/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define icon()
|
|
||||||
$:/core/images/storyview-$(storyview)$
|
|
||||||
\end
|
|
||||||
<span class="tc-popup-keep">
|
<span class="tc-popup-keep">
|
||||||
<$button popup=<<qualify "$:/state/popup/storyview">> tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
<$button popup=<<qualify "$:/state/popup/storyview">> tooltip={{$:/language/Buttons/StoryView/Hint}} aria-label={{$:/language/Buttons/StoryView/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$set name="storyview" value={{$:/view}}>
|
<$set name="storyview" value={{$:/view}}>
|
||||||
<$transclude tiddler=<<icon>>/>
|
<$transclude tiddler=`$:/core/images/storyview-$(storyview)$`/>
|
||||||
</$set>
|
</$set>
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/StoryView/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/StoryView/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</span>
|
</span>
|
||||||
<$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes">
|
<$reveal state=<<qualify "$:/state/popup/storyview">> type="popup" position="below" animate="yes">
|
||||||
|
@ -4,17 +4,16 @@ caption: {{$:/core/images/tag-button}} {{$:/language/Buttons/TagManager/Caption}
|
|||||||
description: {{$:/language/Buttons/TagManager/Hint}}
|
description: {{$:/language/Buttons/TagManager/Hint}}
|
||||||
|
|
||||||
\whitespace trim
|
\whitespace trim
|
||||||
\define control-panel-button(class)
|
\procedure control-panel-button(class)
|
||||||
\whitespace trim
|
<$button to="$:/TagManager" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class=`$(tv-config-toolbar-class)$ $(class)$`>
|
||||||
<$button to="$:/TagManager" tooltip={{$:/language/Buttons/TagManager/Hint}} aria-label={{$:/language/Buttons/TagManager/Caption}} class="""$(tv-config-toolbar-class)$ $class$""">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
|
||||||
{{$:/core/images/tag-button}}
|
{{$:/core/images/tag-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/TagManager/Caption}}/>
|
<$text text={{$:/language/Buttons/TagManager/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
\end
|
\end
|
||||||
|
|
||||||
|
@ -6,12 +6,12 @@ description: {{$:/language/Buttons/Theme/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<span class="tc-popup-keep">
|
<span class="tc-popup-keep">
|
||||||
<$button popup=<<qualify "$:/state/popup/theme">> tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
<$button popup=<<qualify "$:/state/popup/theme">> tooltip={{$:/language/Buttons/Theme/Hint}} aria-label={{$:/language/Buttons/Theme/Caption}} class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/theme-button}}
|
{{$:/core/images/theme-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Theme/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Theme/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</span>
|
</span>
|
||||||
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
|
<$reveal state=<<qualify "$:/state/popup/theme">> type="popup" position="below" animate="yes">
|
||||||
|
@ -7,26 +7,26 @@ description: {{$:/language/Buttons/Timestamp/Hint}}
|
|||||||
<$reveal type="nomatch" state="$:/config/TimestampDisable" text="yes">
|
<$reveal type="nomatch" state="$:/config/TimestampDisable" text="yes">
|
||||||
<$button tooltip={{$:/language/Buttons/Timestamp/On/Hint}} aria-label={{$:/language/Buttons/Timestamp/On/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/Timestamp/On/Hint}} aria-label={{$:/language/Buttons/Timestamp/On/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="yes"/>
|
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="yes"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/timestamp-on}}
|
{{$:/core/images/timestamp-on}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Timestamp/On/Caption}}/>
|
<$text text={{$:/language/Buttons/Timestamp/On/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
<$reveal type="match" state="$:/config/TimestampDisable" text="yes">
|
<$reveal type="match" state="$:/config/TimestampDisable" text="yes">
|
||||||
<$button tooltip={{$:/language/Buttons/Timestamp/Off/Hint}} aria-label={{$:/language/Buttons/Timestamp/Off/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/Timestamp/Off/Hint}} aria-label={{$:/language/Buttons/Timestamp/Off/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="no"/>
|
<$action-setfield $tiddler="$:/config/TimestampDisable" $value="no"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/timestamp-off}}
|
{{$:/core/images/timestamp-off}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/>
|
<$text text={{$:/language/Buttons/Timestamp/Off/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</$reveal>
|
</$reveal>
|
||||||
|
@ -6,12 +6,12 @@ description: {{$:/language/Buttons/UnfoldAll/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/UnfoldAll/Hint}} aria-label={{$:/language/Buttons/UnfoldAll/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/UnfoldAll/Hint}} aria-label={{$:/language/Buttons/UnfoldAll/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-unfold-all-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
|
<$action-sendmessage $message="tm-unfold-all-tiddlers" $param=<<currentTiddler>> foldedStatePrefix="$:/state/folded/"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]" variable="listItem">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/unfold-all-button}}
|
{{$:/core/images/unfold-all-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text">
|
<span class="tc-btn-text">
|
||||||
<$text text={{$:/language/Buttons/UnfoldAll/Caption}}/>
|
<$text text={{$:/language/Buttons/UnfoldAll/Caption}}/>
|
||||||
</span>
|
</span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -8,22 +8,22 @@ description: {{$:/language/Buttons/Help/Hint}}
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$list filter="[[$:/config/ShowHelp]get[text]] +[else[no]match[yes]]" variable="ignore">
|
<$list filter="[[$:/config/ShowHelp]get[text]] +[else[no]match[yes]]" variable="ignore">
|
||||||
<$button set="$:/config/ShowHelp" setTo="no" tooltip={{$:/language/Buttons/Help/Hint}} aria-label={{$:/language/Buttons/Help/Caption}} class="""$(tv-config-toolbar-class)$ tc-selected""">
|
<$button set="$:/config/ShowHelp" setTo="no" tooltip={{$:/language/Buttons/Help/Hint}} aria-label={{$:/language/Buttons/Help/Caption}} class="""$(tv-config-toolbar-class)$ tc-selected""">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/help}}
|
{{$:/core/images/help}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Help/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Help/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</$list>
|
</$list>
|
||||||
<$list filter="[[$:/config/ShowHelp]get[text]] +[else[no]!match[yes]]" variable="ignore">
|
<$list filter="[[$:/config/ShowHelp]get[text]] +[else[no]!match[yes]]" variable="ignore">
|
||||||
<$button set="$:/config/ShowHelp" setTo="yes" tooltip={{$:/language/Buttons/Help/Hint}} aria-label={{$:/language/Buttons/Help/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button set="$:/config/ShowHelp" setTo="yes" tooltip={{$:/language/Buttons/Help/Hint}} aria-label={{$:/language/Buttons/Help/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/core/images/help}}
|
{{$:/core/images/help}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Help/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/Help/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
</$list>
|
</$list>
|
||||||
\end
|
\end
|
||||||
|
@ -7,10 +7,10 @@ list-after: $:/core/ui/Buttons/new-tiddler
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}} aria-label={{$:/language/Buttons/NewMarkdown/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}} aria-label={{$:/language/Buttons/NewMarkdown/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-new-tiddler" type="text/markdown"/>
|
<$action-sendmessage $message="tm-new-tiddler" type="text/markdown"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/plugins/tiddlywiki/markdown-legacy/images/new-markdown-button}}
|
{{$:/plugins/tiddlywiki/markdown-legacy/images/new-markdown-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewMarkdown/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewMarkdown/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -7,10 +7,10 @@ list-after: $:/core/ui/Buttons/new-tiddler
|
|||||||
\whitespace trim
|
\whitespace trim
|
||||||
<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}} aria-label={{$:/language/Buttons/NewMarkdown/Caption}} class=<<tv-config-toolbar-class>>>
|
<$button tooltip={{$:/language/Buttons/NewMarkdown/Hint}} aria-label={{$:/language/Buttons/NewMarkdown/Caption}} class=<<tv-config-toolbar-class>>>
|
||||||
<$action-sendmessage $message="tm-new-tiddler" type="text/markdown"/>
|
<$action-sendmessage $message="tm-new-tiddler" type="text/markdown"/>
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}}
|
{{$:/plugins/tiddlywiki/markdown/images/new-markdown-button}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewMarkdown/Caption}}/></span>
|
<span class="tc-btn-text"><$text text={{$:/language/Buttons/NewMarkdown/Caption}}/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</$button>
|
</$button>
|
||||||
|
@ -9,12 +9,12 @@ $:/config/PageControlButtons/Visibility/$(listItem)$
|
|||||||
\end
|
\end
|
||||||
<$button popup=<<qualify "$:/state/popup/save-wiki">> tooltip="Status of synchronisation with server" aria-label="Server status" class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
<$button popup=<<qualify "$:/state/popup/save-wiki">> tooltip="Status of synchronisation with server" aria-label="Server status" class=<<tv-config-toolbar-class>> selectedClass="tc-selected">
|
||||||
<span class="tc-dirty-indicator">
|
<span class="tc-dirty-indicator">
|
||||||
<$list filter="[<tv-config-toolbar-icons>match[yes]]">
|
<%if [<tv-config-toolbar-icons>match[yes]] %>
|
||||||
{{$:/plugins/tiddlywiki/tiddlyweb/icon/cloud}}
|
{{$:/plugins/tiddlywiki/tiddlyweb/icon/cloud}}
|
||||||
</$list>
|
<%endif%>
|
||||||
<$list filter="[<tv-config-toolbar-text>match[yes]]">
|
<%if [<tv-config-toolbar-text>match[yes]] %>
|
||||||
<span class="tc-btn-text"><$text text="Server status"/></span>
|
<span class="tc-btn-text"><$text text="Server status"/></span>
|
||||||
</$list>
|
<%endif%>
|
||||||
</span>
|
</span>
|
||||||
</$button>
|
</$button>
|
||||||
<$reveal state=<<qualify "$:/state/popup/save-wiki">> type="popup" position="belowleft" animate="yes">
|
<$reveal state=<<qualify "$:/state/popup/save-wiki">> type="popup" position="belowleft" animate="yes">
|
||||||
|
Loading…
Reference in New Issue
Block a user