diff options
Diffstat (limited to 'client/src/app/shared/instance')
-rw-r--r-- | client/src/app/shared/instance/instance-features-table.component.html | 6 | ||||
-rw-r--r-- | client/src/app/shared/instance/instance-features-table.component.ts | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/client/src/app/shared/instance/instance-features-table.component.html b/client/src/app/shared/instance/instance-features-table.component.html index d1cb8fcbe..f880a886f 100644 --- a/client/src/app/shared/instance/instance-features-table.component.html +++ b/client/src/app/shared/instance/instance-features-table.component.html | |||
@@ -2,6 +2,12 @@ | |||
2 | 2 | ||
3 | <table class="table" *ngIf="config"> | 3 | <table class="table" *ngIf="config"> |
4 | <tr> | 4 | <tr> |
5 | <td i18n class="label">PeerTube version</td> | ||
6 | |||
7 | <td class="value">{{ getServerVersionAndCommit() }}</td> | ||
8 | </tr> | ||
9 | |||
10 | <tr> | ||
5 | <td i18n class="label"> | 11 | <td i18n class="label"> |
6 | <div>Default NSFW/sensitive videos policy</div> | 12 | <div>Default NSFW/sensitive videos policy</div> |
7 | <div class="more-info">can be redefined by the users</div> | 13 | <div class="more-info">can be redefined by the users</div> |
diff --git a/client/src/app/shared/instance/instance-features-table.component.ts b/client/src/app/shared/instance/instance-features-table.component.ts index 46df4d0b2..1661f1efe 100644 --- a/client/src/app/shared/instance/instance-features-table.component.ts +++ b/client/src/app/shared/instance/instance-features-table.component.ts | |||
@@ -53,6 +53,10 @@ export class InstanceFeaturesTableComponent implements OnInit { | |||
53 | return this.i18n('~ {{minutes}} {minutes, plural, =1 {minute} other {minutes}}', { minutes }) | 53 | return this.i18n('~ {{minutes}} {minutes, plural, =1 {minute} other {minutes}}', { minutes }) |
54 | } | 54 | } |
55 | 55 | ||
56 | getServerVersionAndCommit () { | ||
57 | return this.serverService.getServerVersionAndCommit() | ||
58 | } | ||
59 | |||
56 | private buildQuotaHelpIndication () { | 60 | private buildQuotaHelpIndication () { |
57 | if (this.initialUserVideoQuota === -1) return | 61 | if (this.initialUserVideoQuota === -1) return |
58 | 62 | ||