aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-28 16:43:03 +0100
committerChocobozzz <me@florianbigard.com>2021-12-28 16:43:03 +0100
commit61cc1c03bf6f12af7c1b2e2a7d2fdaa563c37b59 (patch)
treea09f65ed1c26ece839e840186e25396d05c96cde
parentfba87e27c1cb6c679fff0d2c50be230f7e0c3e56 (diff)
downloadPeerTube-61cc1c03bf6f12af7c1b2e2a7d2fdaa563c37b59.tar.gz
PeerTube-61cc1c03bf6f12af7c1b2e2a7d2fdaa563c37b59.tar.zst
PeerTube-61cc1c03bf6f12af7c1b2e2a7d2fdaa563c37b59.zip
Support official plugins
-rw-r--r--client/src/app/+admin/plugins/plugin-search/plugin-search.component.html5
-rw-r--r--shared/models/plugins/plugin-index/peertube-plugin-index.model.ts2
2 files changed, 7 insertions, 0 deletions
diff --git a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html
index 09fb7b6f1..a0d228702 100644
--- a/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html
+++ b/client/src/app/+admin/plugins/plugin-search/plugin-search.component.html
@@ -47,6 +47,11 @@
47 47
48 <span *ngIf="plugin.installed" class="badge badge-success">Installed</span> 48 <span *ngIf="plugin.installed" class="badge badge-success">Installed</span>
49 49
50
51 <span *ngIf="plugin.official" class="badge badge-primary" i18n i18n-title title="This plugin is developed by Framasoft">
52 Official
53 </span>
54
50 <div class="buttons"> 55 <div class="buttons">
51 <my-edit-button 56 <my-edit-button
52 *ngIf="plugin.installed === true && !isThemeSearch()" [routerLink]="getShowRouterLink(plugin)" 57 *ngIf="plugin.installed === true && !isThemeSearch()" [routerLink]="getShowRouterLink(plugin)"
diff --git a/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts b/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts
index e91c8b4dc..36dfef943 100644
--- a/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts
+++ b/shared/models/plugins/plugin-index/peertube-plugin-index.model.ts
@@ -9,6 +9,8 @@ export interface PeerTubePluginIndex {
9 9
10 latestVersion: string 10 latestVersion: string
11 11
12 official: boolean
13
12 name?: string 14 name?: string
13 installed?: boolean 15 installed?: boolean
14} 16}