mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-06-25 23:03:15 +00:00
Plugin Chooser: Use existing template for updates tab
This commit is contained in:
parent
fd9938f2cc
commit
dc98432fa0
|
@ -29,38 +29,8 @@ $body$
|
||||||
{{$:/core/images/download-button}} {{||$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption}}
|
{{$:/core/images/download-button}} {{||$:/language/ControlPanel/Plugins/Updates/UpdateAll/Caption}}
|
||||||
</$button>
|
</$button>
|
||||||
|
|
||||||
<table class="tc-plugin-library-listing">
|
<div class="tc-plugin-library-listing">
|
||||||
<tbody>
|
<$macrocall $name="each-updateable-plugin" body="""
|
||||||
<tr>
|
<$macrocall $name="display-plugin-info" type={{{ [<assetInfo>get[original-plugin-type]] }}}/>
|
||||||
<th>
|
|
||||||
Plugin
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Installed
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Available
|
|
||||||
</th>
|
|
||||||
<th>
|
|
||||||
Install
|
|
||||||
</th>
|
|
||||||
</tr>
|
|
||||||
<$macrocall $name="each-updateable-plugin" body="""<tr>
|
|
||||||
<td>
|
|
||||||
<strong><$text text={{{ [<assetInfo>get[name]] ~[<assetInfo>get[original-title]split[/]last[1]] }}}/></strong>: <$view tiddler=<<assetInfo>> field="description"/>
|
|
||||||
<br>
|
|
||||||
<$text text={{{ [<assetInfo>get[original-title]] }}}/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<$text text=<<installedVersion>>/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<$text text=<<libraryVersion>>/>
|
|
||||||
</td>
|
|
||||||
<td>
|
|
||||||
<<install-plugin-button>>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
"""/>
|
"""/>
|
||||||
</tbody>
|
</div>
|
||||||
</table>
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user