2013-08-21 19:51:45 +00:00
|
|
|
title: $:/core/ui/ViewTemplate/title
|
|
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
|
2020-04-15 11:35:35 +00:00
|
|
|
\whitespace trim
|
2013-10-15 07:36:19 +00:00
|
|
|
\define title-styles()
|
|
|
|
fill:$(foregroundColor)$;
|
|
|
|
\end
|
2014-07-27 10:43:26 +00:00
|
|
|
\define config-title()
|
2014-07-29 09:20:13 +00:00
|
|
|
$:/config/ViewToolbarButtons/Visibility/$(listItem)$
|
2014-07-27 10:43:26 +00:00
|
|
|
\end
|
2014-08-28 17:59:35 +00:00
|
|
|
<div class="tc-tiddler-title">
|
2014-11-08 17:51:35 +00:00
|
|
|
<div class="tc-titlebar">
|
2014-08-28 17:59:35 +00:00
|
|
|
<span class="tc-tiddler-controls">
|
2017-08-08 17:25:45 +00:00
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]]" variable="listItem"><$reveal type="nomatch" state=<<config-title>> text="hide"><$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]"><$transclude tiddler=<<listItem>>/></$set></$reveal></$list>
|
2014-03-13 17:40:53 +00:00
|
|
|
</span>
|
2015-06-13 14:22:50 +00:00
|
|
|
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
|
|
|
|
<$link>
|
2014-03-13 17:40:53 +00:00
|
|
|
<$set name="foregroundColor" value={{!!color}}>
|
2014-11-22 09:42:36 +00:00
|
|
|
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
|
2020-03-06 14:52:37 +00:00
|
|
|
<$transclude tiddler={{!!icon}}>
|
|
|
|
<$transclude tiddler={{$:/config/DefaultTiddlerIcon}}/>
|
|
|
|
</$transclude>
|
2014-03-13 17:40:53 +00:00
|
|
|
</span>
|
|
|
|
</$set>
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]removeprefix[$:/]]">
|
2014-11-08 17:51:35 +00:00
|
|
|
<h2 class="tc-title" title={{$:/language/SystemTiddler/Tooltip}}>
|
2014-08-28 18:41:29 +00:00
|
|
|
<span class="tc-system-title-prefix">$:/</span><$text text=<<currentTiddler>>/>
|
2014-11-08 17:51:35 +00:00
|
|
|
</h2>
|
2014-03-13 17:40:53 +00:00
|
|
|
</$list>
|
2014-04-03 19:49:16 +00:00
|
|
|
<$list filter="[all[current]!prefix[$:/]]">
|
2014-11-08 17:51:35 +00:00
|
|
|
<h2 class="tc-title">
|
2014-03-13 17:40:53 +00:00
|
|
|
<$view field="title"/>
|
2014-06-16 16:34:20 +00:00
|
|
|
</h2>
|
2014-11-08 17:51:35 +00:00
|
|
|
</$list>
|
2015-06-13 14:22:50 +00:00
|
|
|
</$link>
|
|
|
|
</$set>
|
2014-11-08 17:51:35 +00:00
|
|
|
</div>
|
2013-08-21 19:51:45 +00:00
|
|
|
|
2014-11-22 09:42:36 +00:00
|
|
|
<$reveal type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup-handle" animate="yes" retain="yes">
|
2013-08-21 19:51:45 +00:00
|
|
|
|
2018-08-30 12:42:51 +00:00
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]" variable="listItem"><$transclude tiddler=<<listItem>> mode="block"/></$list>
|
2013-08-21 19:51:45 +00:00
|
|
|
|
2014-03-13 17:40:53 +00:00
|
|
|
</$reveal>
|
|
|
|
</div>
|