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

View File

@ -64,7 +64,7 @@
</form> </form>
<div> <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> <my-instance-features-table></my-instance-features-table>
</div> </div>
</div> </div>