Fixed landing page

pull/1648/head^2
TidusJar 7 years ago
parent d294d38a14
commit 5342746d52

@ -22,7 +22,7 @@
<div *ngIf="mediaServerStatus.fullyAvailable"> <div *ngIf="mediaServerStatus.fullyAvailable">
<h3 class="online"><i class="fa fa-check-circle "></i> {{ 'LandingPage.OnlineHeading' | translate }}</h3> <h3 class="online"><i class="fa fa-check-circle "></i> {{ 'LandingPage.OnlineHeading' | translate }}</h3>
<span [translate]="'LandingPage.OnlineParagraph'"></span> <span [translate]="'LandingPage.OnlineParagraph'"></span>
<p [translate]="'CheckPageForUpdates'"></p> <p [translate]="'LandingPage.CheckPageForUpdates'"></p>
</div> </div>
<div *ngIf="mediaServerStatus.partiallyDown"> <div *ngIf="mediaServerStatus.partiallyDown">
@ -30,13 +30,13 @@
<span [translate]="'LandingPage.PartiallyOnlineParagraph'"></span> <span [translate]="'LandingPage.PartiallyOnlineParagraph'"></span>
<p *ngIf="mediaServerStatus.serversUnavailable > 1" [translate]="'LandingPage.MultipleServersUnavailable'" [translateParams]="{serversUnavailable: mediaServerStatus.serversUnavailable, totalServers: mediaServerStatus.totalServers}"></p> <p *ngIf="mediaServerStatus.serversUnavailable > 1" [translate]="'LandingPage.MultipleServersUnavailable'" [translateParams]="{serversUnavailable: mediaServerStatus.serversUnavailable, totalServers: mediaServerStatus.totalServers}"></p>
<p *ngIf="mediaServerStatus.serversUnavailable == 1" [translate]="'LandingPage.SingleServerUnavailable'" [translateParams]="{serversUnavailable: mediaServerStatus.serversUnavailable, totalServers: mediaServerStatus.totalServers}">There is {{mediaServerStatus.serversUnavailable}} server offline out of {{mediaServerStatus.totalServers}}.</p> <p *ngIf="mediaServerStatus.serversUnavailable == 1" [translate]="'LandingPage.SingleServerUnavailable'" [translateParams]="{serversUnavailable: mediaServerStatus.serversUnavailable, totalServers: mediaServerStatus.totalServers}">There is {{mediaServerStatus.serversUnavailable}} server offline out of {{mediaServerStatus.totalServers}}.</p>
<p [translate]="'CheckPageForUpdates'"></p> <p [translate]="'LandingPage.CheckPageForUpdates'"></p>
</div> </div>
<div *ngIf="mediaServerStatus.completelyDown"> <div *ngIf="mediaServerStatus.completelyDown">
<h3 class="offline"><i class="fa fa-times "></i> {{ 'LandingPage.OfflineHeading' | translate }}</h3> <h3 class="offline"><i class="fa fa-times "></i> {{ 'LandingPage.OfflineHeading' | translate }}</h3>
<span [translate]="'LandingPage.OfflineParagraph'"></span> <span [translate]="'LandingPage.OfflineParagraph'"></span>
<p [translate]="'CheckPageForUpdates'"></p> <p [translate]="'LandingPage.CheckPageForUpdates'"></p>
</div> </div>
</div> </div>
</div> </div>

Loading…
Cancel
Save