diff options
-rw-r--r-- | client/src/app/+admin/plugins/plugin-search/plugin-search.component.html | 5 | ||||
-rw-r--r-- | shared/models/plugins/plugin-index/peertube-plugin-index.model.ts | 2 |
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 | } |