mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-24 00:50:28 +00:00
Add title links setting
This commit is contained in:
parent
e3965dcd0c
commit
0d5033e2a0
@ -95,6 +95,10 @@ Settings/LinkToBehaviour/OpenAbove: Open above the current tiddler
|
||||
Settings/LinkToBehaviour/OpenBelow: Open below the current tiddler
|
||||
Settings/LinkToBehaviour/OpenAtTop: Open at the top of the story river
|
||||
Settings/LinkToBehaviour/OpenAtBottom: Open at the bottom of the story river
|
||||
Settings/TitleLinks/Caption: Tiddler Titles
|
||||
Settings/TitleLinks/Hint: Optionally display tiddler titles as links
|
||||
Settings/TitleLinks/No/Description: Do not display tiddler titles as links
|
||||
Settings/TitleLinks/Yes/Description: Display tiddler titles as links
|
||||
StoryView/Caption: Story View
|
||||
StoryView/Prompt: Current view:
|
||||
Theme/Caption: Theme
|
||||
|
10
core/ui/ControlPanel/Settings/TitleLinks.tid
Normal file
10
core/ui/ControlPanel/Settings/TitleLinks.tid
Normal file
@ -0,0 +1,10 @@
|
||||
title: $:/core/ui/ControlPanel/Settings/TitleLinks
|
||||
tags: $:/tags/ControlPanel/Settings
|
||||
caption: {{$:/language/ControlPanel/Settings/TitleLinks/Caption}}
|
||||
|
||||
\define lingo-base() $:/language/ControlPanel/Settings/TitleLinks/
|
||||
<$link to="$:/config/Tiddlers/TitleLinks"><<lingo Hint>></$link>
|
||||
|
||||
<$radio tiddler="$:/config/Tiddlers/TitleLinks" value="yes"> <<lingo Yes/Description>> </$radio>
|
||||
|
||||
<$radio tiddler="$:/config/Tiddlers/TitleLinks" value="no"> <<lingo No/Description>> </$radio>
|
@ -12,6 +12,8 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||
<span class="tc-tiddler-controls">
|
||||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$transclude tiddler=<<listItem>>/></$reveal></$list>
|
||||
</span>
|
||||
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
|
||||
<$link>
|
||||
<$set name="foregroundColor" value={{!!color}}>
|
||||
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
|
||||
<$transclude tiddler={{!!icon}}/>
|
||||
@ -27,6 +29,8 @@ $:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
||||
<$view field="title"/>
|
||||
</h2>
|
||||
</$list>
|
||||
</$link>
|
||||
</$set>
|
||||
</div>
|
||||
|
||||
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup-handle" animate="yes" retain="yes">
|
||||
|
3
core/wiki/config/TitleLinks.tid
Normal file
3
core/wiki/config/TitleLinks.tid
Normal file
@ -0,0 +1,3 @@
|
||||
title: $:/config/Tiddlers/TitleLinks
|
||||
|
||||
no
|
Loading…
Reference in New Issue
Block a user