1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2026-04-22 23:01:28 +00:00

Display "contents" tab for plugins that lack any information tabs

Fixes #2841
This commit is contained in:
Jermolene
2017-04-30 09:59:41 +01:00
parent 93771fdf27
commit 683285d449
10 changed files with 1 additions and 15 deletions

View File

@@ -78,14 +78,9 @@ $:/config/Plugins/Disabled/$(currentTiddler)$
</$reveal>
</div>
</$list>
<$reveal type="nomatch" text="" state="!!list">
<$set name="tabsList" filter="[<currentTiddler>list[]] contents">
<$macrocall $name="tabs" state=<<tabs-state-macro>> tabsList=<<tabsList>> default="readme" template="$:/core/ui/PluginInfo"/>
<$macrocall $name="tabs" state=<<tabs-state-macro>> tabsList=<<tabsList>> default={{{ [enlist<tabsList>] }}} template="$:/core/ui/PluginInfo"/>
</$set>
</$reveal>
<$reveal type="match" text="" state="!!list">
<<lingo NoInformation/Hint>>
</$reveal>
</div>
</div>
</$reveal>