Support official plugins
This commit is contained in:
parent
fba87e27c1
commit
61cc1c03bf
|
@ -47,6 +47,11 @@
|
||||||
|
|
||||||
<span *ngIf="plugin.installed" class="badge badge-success">Installed</span>
|
<span *ngIf="plugin.installed" class="badge badge-success">Installed</span>
|
||||||
|
|
||||||
|
|
||||||
|
<span *ngIf="plugin.official" class="badge badge-primary" i18n i18n-title title="This plugin is developed by Framasoft">
|
||||||
|
Official
|
||||||
|
</span>
|
||||||
|
|
||||||
<div class="buttons">
|
<div class="buttons">
|
||||||
<my-edit-button
|
<my-edit-button
|
||||||
*ngIf="plugin.installed === true && !isThemeSearch()" [routerLink]="getShowRouterLink(plugin)"
|
*ngIf="plugin.installed === true && !isThemeSearch()" [routerLink]="getShowRouterLink(plugin)"
|
||||||
|
|
|
@ -9,6 +9,8 @@ export interface PeerTubePluginIndex {
|
||||||
|
|
||||||
latestVersion: string
|
latestVersion: string
|
||||||
|
|
||||||
|
official: boolean
|
||||||
|
|
||||||
name?: string
|
name?: string
|
||||||
installed?: boolean
|
installed?: boolean
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue