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
|
2024-03-16 19:03:36 +00:00
|
|
|
\define title-styles() fill:$(foregroundColor)$;
|
2013-08-21 19:51:45 +00:00
|
|
|
|
2024-09-09 08:48:57 +00:00
|
|
|
<div class="tc-tiddler-title tc-clearfix">
|
2024-03-16 19:03:36 +00:00
|
|
|
<div class="tc-titlebar">
|
|
|
|
<span class="tc-tiddler-controls">
|
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewToolbar]!has[draft.of]] :filter[lookup[$:/config/ViewToolbarButtons/Visibility/]!match[hide]]"
|
|
|
|
storyview="pop"
|
|
|
|
variable="listItem"
|
|
|
|
>
|
|
|
|
<$set name="tv-config-toolbar-class" filter="[<tv-config-toolbar-class>] [<listItem>encodeuricomponent[]addprefix[tc-btn-]]">
|
|
|
|
<$transclude tiddler=<<listItem>>/>
|
|
|
|
</$set>
|
|
|
|
</$list>
|
|
|
|
</span>
|
|
|
|
<$set name="tv-wikilinks" value={{$:/config/Tiddlers/TitleLinks}}>
|
|
|
|
<$link>
|
|
|
|
<$list filter="[<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerIconFilter]!is[draft]get[text]] +[!is[blank]]"
|
|
|
|
variable="ignore"
|
|
|
|
>
|
|
|
|
<$let foregroundColor={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/TiddlerColourFilter]!is[draft]get[text]] }}}>
|
|
|
|
<span class="tc-tiddler-title-icon" style=<<title-styles>>>
|
|
|
|
{{||$:/core/ui/TiddlerIcon}}
|
|
|
|
</span>
|
|
|
|
</$let>
|
|
|
|
</$list>
|
|
|
|
<$transclude tiddler={{{ [<currentTiddler>] :cascade[all[shadows+tiddlers]tag[$:/tags/ViewTemplateTitleFilter]!is[draft]get[text]] :and[!is[blank]else[$:/core/ui/ViewTemplate/title/default]] }}} />
|
|
|
|
</$link>
|
|
|
|
</$set>
|
|
|
|
</div>
|
2024-03-18 09:08:11 +00:00
|
|
|
<$reveal tag="div" type="nomatch" text="" default="" state=<<tiddlerInfoState>> class="tc-tiddler-info tc-popup-handle" animate="yes" retain="yes">
|
2024-03-16 19:03:36 +00:00
|
|
|
<$list filter="[all[shadows+tiddlers]tag[$:/tags/TiddlerInfoSegment]!has[draft.of]] [[$:/core/ui/TiddlerInfo]]" variable="listItem">
|
|
|
|
<$transclude tiddler=<<listItem>> mode="block"/>
|
|
|
|
</$list>
|
|
|
|
</$reveal>
|
2021-07-30 15:11:27 +00:00
|
|
|
</div>
|