Support official plugins

This commit is contained in:
Chocobozzz 2021-12-28 16:43:03 +01:00
parent fba87e27c1
commit 61cc1c03bf
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 7 additions and 0 deletions

View File

@ -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)"

View File

@ -9,6 +9,8 @@ export interface PeerTubePluginIndex {
latestVersion: string latestVersion: string
official: boolean
name?: string name?: string
installed?: boolean installed?: boolean
} }