-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: allow tags have its ViewTemplate tag and cascade (#8462)
* feat: allow tags have its ViewTemplate tag and cascade * feat: quick addition of subtitle cascade * docs: tag subtitle cascade control panel * Update ControlPanel.multids
- Loading branch information
Showing
9 changed files
with
54 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title: $:/core/ui/ControlPanel/ViewTemplateSubtitle | ||
tags: $:/tags/ControlPanel/Cascades | ||
caption: {{$:/language/ControlPanel/ViewTemplateSubtitle/Caption}} | ||
|
||
\define lingo-base() $:/language/ControlPanel/ViewTemplateSubtitle/ | ||
|
||
<<lingo Hint>> | ||
|
||
{{$:/tags/ViewTemplateSubtitleFilter||$:/snippets/ListTaggedCascade}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
title: $:/core/ui/ControlPanel/ViewTemplateTags | ||
tags: $:/tags/ControlPanel/Cascades | ||
caption: {{$:/language/ControlPanel/ViewTemplateTags/Caption}} | ||
|
||
\define lingo-base() $:/language/ControlPanel/ViewTemplateTags/ | ||
|
||
<<lingo Hint>> | ||
|
||
{{$:/tags/ViewTemplateTagsFilter||$:/snippets/ListTaggedCascade}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
title: $:/core/ui/ViewTemplate/subtitle/default | ||
|
||
\whitespace trim | ||
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes"> | ||
<div class="tc-subtitle"> | ||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Subtitle]!has[draft.of]]" variable="subtitleTiddler"> | ||
<$transclude tiddler=<<subtitleTiddler>> mode="inline"/><$list-join> </$list-join> | ||
</$list> | ||
</div> | ||
</$reveal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
title: $:/core/ui/ViewTemplate/tags/default | ||
|
||
\whitespace trim | ||
<$reveal type="nomatch" stateTitle=<<folded-state>> text="hide" tag="div" retain="yes" animate="yes"> | ||
<div class="tc-tags-wrapper"> | ||
<$list filter="[all[current]tags[]sort[title]]" template="$:/core/ui/TagTemplate" storyview="pop"/> | ||
<$list filter="[all[shadows+tiddlers]tag[$:/tags/ViewTemplate/Tags]!has[draft.of]]"> | ||
<$transclude mode="inline"/> | ||
</$list> | ||
</div> | ||
</$reveal> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters