Put features table in about page

pull/1462/head
Chocobozzz 2018-12-05 14:53:13 +01:00
parent 4e74e8032b
commit 56af5222c1
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
2 changed files with 37 additions and 28 deletions

View File

@ -1,39 +1,48 @@
<div i18n class="about-instance-title">
About {{ instanceName }} instance
</div>
<div class="row">
<div class="col-md-12 col-xl-6">
<div i18n class="about-instance-title">
About {{ instanceName }} instance
</div>
<div class="short-description">
<div>{{ shortDescription }}</div>
</div>
<div class="short-description">
<div>{{ shortDescription }}</div>
</div>
<div class="description">
<div i18n class="section-title">Description</div>
<div class="description">
<div i18n class="section-title">Description</div>
<div [innerHTML]="descriptionHTML"></div>
</div>
<div [innerHTML]="descriptionHTML"></div>
</div>
<div class="terms" id="terms-section">
<div i18n class="section-title">Terms</div>
<div class="terms" id="terms-section">
<div i18n class="section-title">Terms</div>
<div [innerHTML]="termsHTML"></div>
</div>
<div [innerHTML]="termsHTML"></div>
</div>
<div class="signup">
<div i18n class="section-title">Signup</div>
<div class="signup">
<div i18n class="section-title">Signup</div>
<div *ngIf="isSignupAllowed">
<ng-container i18n>User registration is allowed and</ng-container>
<div *ngIf="isSignupAllowed">
<ng-container i18n>User registration is allowed and</ng-container>
<ng-container i18n *ngIf="userVideoQuota !== -1">
this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
</ng-container>
<ng-container i18n *ngIf="userVideoQuota !== -1">
this instance provides a baseline quota of {{ userVideoQuota | bytes: 0 }} space for the videos of its users.
</ng-container>
<ng-container i18n *ngIf="userVideoQuota === -1">
this instance provides unlimited space for the videos of its users.
</ng-container>
<ng-container i18n *ngIf="userVideoQuota === -1">
this instance provides unlimited space for the videos of its users.
</ng-container>
</div>
<div i18n *ngIf="isSignupAllowed === false">
User registration is currently not allowed.
</div>
</div>
</div>
<div i18n *ngIf="isSignupAllowed === false">
User registration is currently not allowed.
<div class="col-md-12 col-xl-6">
<label>Features found on this instance</label>
<my-instance-features-table></my-instance-features-table>
</div>
</div>
</div>

View File

@ -64,7 +64,7 @@
</form>
<div>
<label for="email" i18n>Features found on this instance</label>
<label i18n>Features found on this instance</label>
<my-instance-features-table></my-instance-features-table>
</div>
</div>