-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
30 additions
and
0 deletions.
There are no files selected for viewing
30 changes: 30 additions & 0 deletions
30
src/app/shell/components/initialization-error-page/initialization-error-page.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
<div class="p-4"> | ||
<h1 class="md:text-xl text-lg mb-1">{{ 'INITIALIZATION_ERROR_PAGE.TITLE' | translate }}</h1> | ||
<p class="text-base">{{ 'INITIALIZATION_ERROR_PAGE.SUBTITLE' | translate }}</p> | ||
<div *ngIf="error$ | async as error" class="mt-3 flex flex-column row-gap-2 md:text-base text-sm"> | ||
<div id="onecxInitializationErrorMessage" *ngIf="error.message"> | ||
<div class="font-bold">{{ 'INITIALIZATION_ERROR_PAGE.DETAILS.MESSAGE' | translate }}</div> | ||
<i>{{ error.message }}</i> | ||
</div> | ||
<div id="onecxInitializationErrorRequestedUrl" *ngIf="error.requestedUrl"> | ||
<div class="font-bold">{{ 'INITIALIZATION_ERROR_PAGE.DETAILS.REQUESTED_URL' | translate }}</div> | ||
<i>{{ error.requestedUrl }}</i> | ||
</div> | ||
<div id="onecxInitializationErrorDetail" *ngIf="error.detail"> | ||
<div class="font-bold">{{ 'INITIALIZATION_ERROR_PAGE.DETAILS.DETAILS' | translate }}</div> | ||
<i>{{ error.detail }}</i> | ||
</div> | ||
<div id="onecxInitializationErrorErrorCode" *ngIf="error.errorCode"> | ||
<div class="font-bold">{{ 'INITIALIZATION_ERROR_PAGE.DETAILS.ERRORCODE' | translate }}</div> | ||
<i>{{ error.errorCode }}</i> | ||
</div> | ||
<div id="onecxInitializationErrorInvalidParams" *ngIf="error.invalidParams"> | ||
<div class="font-bold">{{ 'INITIALIZATION_ERROR_PAGE.DETAILS.INVALID_PARAMS' | translate }}</div> | ||
<i>{{ error.invalidParams }}</i> | ||
</div> | ||
<div id="onecxInitializationErrorParams" *ngIf="error.params"> | ||
<div class="font-bold">{{ 'INITIALIZATION_ERROR_PAGE.DETAILS.PARAMS' | translate }}</div> | ||
<i>{{ error.params }}</i> | ||
</div> | ||
</div> | ||
</div> |