mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-05 17:46:19 +00:00
be06257430
Belatedly realised that the design would be clearer without these two separate concepts being conflated into a single widget. As a result of this change, any other widget or template that generates transclude widgets has needed adjustment.
12 lines
797 B
Plaintext
12 lines
797 B
Plaintext
title: $:/core/ui/ViewTemplate/title
|
|
tags: $:/tags/ViewTemplate
|
|
|
|
<div class="tw-tiddler-title"><div class="title"><$setstyle name="fill" value={{!!color}}><span class="tw-tiddler-controls"><$button popup="$:/state/tiddlerInfo" qualifyTiddlerTitles="yes" class="btn-invisible">{{$:/core/images/info-button}}</$button><$button message="tw-edit-tiddler" class="btn-invisible">{{$:/core/images/edit-button}}</$button><$button message="tw-close-tiddler" class="btn-invisible">{{$:/core/images/close-button}}</$button>
|
|
|
|
</span><$transclude title={{!!icon}}/> <$view field="title"/></$setstyle></div>
|
|
|
|
<$reveal type="nomatch" text="" default="" state="$:/state/tiddlerInfo" qualifyTiddlerTitles="yes" class="tw-tiddler-info" animate="yes">
|
|
|
|
<$transclude title="$:/core/ui/TiddlerInfo"/>
|
|
|
|
</$reveal></div> |