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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user