aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/shared
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/shared')
-rw-r--r--client/src/app/shared/instance/instance-features-table.component.html18
-rw-r--r--client/src/app/shared/instance/instance-features-table.component.ts5
2 files changed, 13 insertions, 10 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 dc8db8cc1..90046f409 100644
--- a/client/src/app/shared/instance/instance-features-table.component.html
+++ b/client/src/app/shared/instance/instance-features-table.component.html
@@ -1,6 +1,14 @@
1<div class="feature-table"> 1<div class="feature-table">
2 2
3 <table class="table"> 3 <table class="table">
4 <tr *ngFor="let feature of features">
5 <td class="label">{{ feature.label }}</td>
6 <td>
7 <span *ngIf="feature.value === true" class="glyphicon glyphicon-ok"></span>
8 <span *ngIf="feature.value === false" class="glyphicon glyphicon-remove"></span>
9 </td>
10 </tr>
11
4 <tr> 12 <tr>
5 <td i18n class="label">Video quota</td> 13 <td i18n class="label">Video quota</td>
6 14
@@ -16,13 +24,5 @@
16 </ng-container> 24 </ng-container>
17 </td> 25 </td>
18 </tr> 26 </tr>
19
20 <tr *ngFor="let feature of features">
21 <td class="label">{{ feature.label }}</td>
22 <td>
23 <span *ngIf="feature.value === true" class="glyphicon glyphicon-ok"></span>
24 <span *ngIf="feature.value === false" class="glyphicon glyphicon-remove"></span>
25 </td>
26 </tr>
27 </table> 27 </table>
28</div> \ No newline at end of file 28</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 da8da0702..aaf0a6960 100644
--- a/client/src/app/shared/instance/instance-features-table.component.ts
+++ b/client/src/app/shared/instance/instance-features-table.component.ts
@@ -38,6 +38,10 @@ export class InstanceFeaturesTableComponent implements OnInit {
38 38
39 this.features = [ 39 this.features = [
40 { 40 {
41 label: this.i18n('User registration allowed'),
42 value: config.signup.allowed
43 },
44 {
41 label: this.i18n('Transcode your videos in multiple resolutions'), 45 label: this.i18n('Transcode your videos in multiple resolutions'),
42 value: config.transcoding.enabledResolutions.length !== 0 46 value: config.transcoding.enabledResolutions.length !== 0
43 }, 47 },
@@ -50,7 +54,6 @@ export class InstanceFeaturesTableComponent implements OnInit {
50 value: config.import.videos.torrent.enabled 54 value: config.import.videos.torrent.enabled
51 } 55 }
52 ] 56 ]
53
54 } 57 }
55 58
56 private getApproximateTime (seconds: number) { 59 private getApproximateTime (seconds: number) {