diff --git a/core/ui/ControlPanel/Plugins.tid b/core/ui/ControlPanel/Plugins.tid index 47c0e9663..ece3ba717 100644 --- a/core/ui/ControlPanel/Plugins.tid +++ b/core/ui/ControlPanel/Plugins.tid @@ -3,11 +3,24 @@ tags: $:/tags/ControlPanel caption: {{$:/language/ControlPanel/Plugins/Caption}} \define lingo-base() $:/language/ControlPanel/Plugins/ +\define popup-state-macro() +$(qualified-state)$-$(currentTiddler)$ +\end +\define tabs-state-macro() +$(popup-state)$-$(pluginInfoType)$ +\end +\define plugin-icon-title() +$(currentTiddler)$/icon +\end \define plugin-table(type) +<$set name="qualified-state" value=<>> + <$list filter="[!has[draft.of]plugin-type[$type$]sort[description]]"> +<$set name="popup-state" value=<>> + + + + +
+  + <> @@ -15,9 +28,23 @@ caption: {{$:/language/ControlPanel/Plugins/Caption}}
+<$reveal type="nomatch" state=<> text="yes"> +<$button class="btn-invisible btn-dropdown" set=<> setTo="yes"> +{{$:/core/images/right-arrow}} + + +<$reveal type="match" state=<> text="yes"> +<$button class="btn-invisible btn-dropdown" set=<> setTo="no"> +{{$:/core/images/down-arrow}} + + + <$link to={{!!title}}> +<$transclude tiddler=<> subtiddler=<>/> ''<$view field="description"><$view field="title"/>''
<$view field="title"/> @@ -26,9 +53,23 @@ caption: {{$:/language/ControlPanel/Plugins/Caption}} <$view field="version"/>
+<$reveal type="match" text="yes" state=<>> +<$reveal type="nomatch" text="" state="!!list"> +<$macrocall $name="tabs" state=<> tabsList={{!!list}} default="readme" template="$:/core/ui/PluginInfo"/> + +<$reveal type="match" text="" state="!!list"> +<$transclude tiddler="$:/core/ui/TiddlerInfo/Advanced/PluginInfo"/> + + +
+ \end ! <> diff --git a/core/ui/PluginInfo.tid b/core/ui/PluginInfo.tid new file mode 100644 index 000000000..08167f1ec --- /dev/null +++ b/core/ui/PluginInfo.tid @@ -0,0 +1,15 @@ +title: $:/core/ui/PluginInfo + +\define localised-info-tiddler-title() +$(currentTiddler)$/$(languageTitle)$/$(currentTab)$ +\end +\define info-tiddler-title() +$(currentTiddler)$/$(currentTab)$ +\end +<$transclude tiddler=<> mode="block"> +<$transclude tiddler=<> subtiddler=<> mode="block"> +<$transclude tiddler=<> subtiddler=<> mode="block"> +No ''"<$text text=<>/>"'' found + + +