kopia lustrzana https://github.com/miklobit/TiddlyWiki5
Merge pull request #1529 from felixhayashi/sidebar-default
Option to define the default sidebar tabprint-window-tiddler
commit
7a326f022b
|
@ -84,6 +84,8 @@ Settings/ToolbarButtons/Caption: Toolbar Buttons
|
|||
Settings/ToolbarButtons/Hint: Default toolbar button appearance:
|
||||
Settings/ToolbarButtons/Icons/Description: Include icon
|
||||
Settings/ToolbarButtons/Text/Description: Include text
|
||||
Settings/DefaultSidebarTab/Caption: Default Sidebar Tab
|
||||
Settings/DefaultSidebarTab/Hint: Define the sidebar tab that is displayed per default
|
||||
StoryView/Caption: Story View
|
||||
StoryView/Prompt: Current view:
|
||||
Theme/Caption: Theme
|
||||
|
|
|
@ -0,0 +1,13 @@
|
|||
caption: {{$:/language/ControlPanel/Settings/DefaultSidebarTab/Caption}}
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
title: $:/core/ui/ControlPanel/Settings/DefaultSidebarTab
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/DefaultSidebarTab/
|
||||
|
||||
<$link to="$:/config/DefaultSidebarTab"><<lingo Hint>></$link>
|
||||
|
||||
<$select tiddler="$:/config/DefaultSidebarTab" default={{$:/config/DefaultSidebarTab}}>
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]">
|
||||
<option value=<<currentTiddler>>><<currentTiddler>></option>
|
||||
</$list>
|
||||
</$select>
|
|
@ -33,7 +33,7 @@ title: $:/core/ui/SideBarLists
|
|||
|
||||
<$reveal state="$:/temp/search" type="match" text="">
|
||||
|
||||
<<tabs "[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" "$:/core/ui/SideBar/Open" "$:/state/tab/sidebar">>
|
||||
<$macrocall $name="tabs" tabsList="[all[shadows+tiddlers]tag[$:/tags/SideBar]!has[draft.of]]" default={{$:/config/DefaultSidebarTab}} state="$:/state/tab/sidebar" />
|
||||
|
||||
</$reveal>
|
||||
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
title: $:/config/DefaultSidebarTab
|
||||
|
||||
$:/core/ui/SideBar/Open
|
Ładowanie…
Reference in New Issue