1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-10-30 06:36:17 +00:00

Revert "Fix alignment in tiddler subtitle (#8659)"

This reverts commit f4f1ae6b9b.
This commit is contained in:
Jeremy Ruston 2024-10-03 13:19:23 +01:00
parent f4f1ae6b9b
commit 2327dd043f
4 changed files with 2 additions and 49 deletions

View File

@ -4,7 +4,7 @@ title: $:/core/ui/ViewTemplate/subtitle/default
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes"> <$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes">
<div class="tc-subtitle tc-clearfix"> <div class="tc-subtitle tc-clearfix">
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]" variable="subtitleTiddler"> <$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]" variable="subtitleTiddler">
<$transclude tiddler=<<subtitleTiddler>> mode="inline"/> <$transclude tiddler=<<subtitleTiddler>> mode="inline"/><$list-join>&nbsp;</$list-join>
</$list> </$list>
</div> </div>
</$reveal> </$reveal>

View File

@ -1,4 +1,4 @@
title: $:/core/ui/ViewTemplate/subtitle/modifier title: $:/core/ui/ViewTemplate/subtitle/modifier
tags: $:/tags/ViewTemplate/Subtitle tags: $:/tags/ViewTemplate/Subtitle
<%if [{!!modifier}!is[blank]] %><$link to={{!!modifier}}/><%endif%> <$link to={{!!modifier}}/>

View File

@ -1,23 +0,0 @@
title: Subtitle/modified
description: Tiddler ViewTemplate Subtitle modified only
type: text/vnd.tiddlywiki-multiple
import: [all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]] $:/core/ui/ViewTemplate/subtitle/default
tags: $:/tags/wiki-test-spec
title: $:/language/Tiddler/DateFormat
[UTC]DDth MMM YYYY at hh12:0mmam
+
title: Output
\whitespace trim
{{test||$:/core/ui/ViewTemplate/subtitle/default}}
+
title: test
modified: 20241003111606000
text
+
title: ExpectedResult
<p><div class=" tc-reveal"><div class="tc-subtitle tc-clearfix">3rd October 2024 at 11:16am</div></div></p>

View File

@ -1,24 +0,0 @@
title: Subtitle/modifier-modified
description: Tiddler ViewTemplate Subtitle. Show modifier and modified in UTC format
type: text/vnd.tiddlywiki-multiple
import: [all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]] $:/core/ui/ViewTemplate/subtitle/default
tags: $:/tags/wiki-test-spec
title: $:/language/Tiddler/DateFormat
[UTC]DDth MMM YYYY at hh12:0mmam
+
title: Output
\whitespace trim
{{test||$:/core/ui/ViewTemplate/subtitle/default}}
+
title: test
modifier: test-user
modified: 20241003111606000
text
+
title: ExpectedResult
<p><div class=" tc-reveal"><div class="tc-subtitle tc-clearfix"><a class="tc-tiddlylink tc-tiddlylink-missing" href="#test-user">test-user</a>3rd October 2024 at 11:16am</div></div></p>