File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
src/core/features/login/pages Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,10 @@ <h1>{{ 'core.login.login' | translate }}</h1>
23
23
< ng-container *ngIf ="!siteCheckError && site && credForm ">
24
24
< div class ="ion-text-wrap ion-text-center core-login-info-box ">
25
25
< div class ="core-login-site ">
26
- < div class ="core-login-site-logo " *ngIf ="logoUrl ">
27
- < img [src] ="logoUrl " role ="presentation " alt ="" onError ="this.src='assets/img/login_logo.png' ">
26
+ < div class ="core-login-site-logo ">
27
+ <!-- Show site logo or a default image. -->
28
+ < img *ngIf ="logoUrl " [src] ="logoUrl " role ="presentation " alt ="" onError ="this.src='assets/img/login_logo.png' ">
29
+ < img *ngIf ="!logoUrl " src ="assets/img/login_logo.png " role ="presentation " alt ="">
28
30
</ div >
29
31
30
32
< h2 *ngIf ="siteName " class ="ion-margin-top ion-no-padding core-sitename ">
Original file line number Diff line number Diff line change @@ -31,8 +31,10 @@ <h1>{{ 'core.login.reconnect' | translate }}</h1>
31
31
32
32
< div class ="ion-text-wrap ion-text-center core-login-info-box ">
33
33
< div class ="core-login-site ">
34
- < div class ="core-login-site-logo " *ngIf ="!showUserAvatar && logoUrl ">
35
- < img [src] ="logoUrl " role ="presentation " onError ="this.src='assets/img/login_logo.png' " alt ="">
34
+ < div class ="core-login-site-logo " *ngIf ="!showUserAvatar ">
35
+ <!-- Show site logo or a default image. -->
36
+ < img *ngIf ="logoUrl " [src] ="logoUrl " role ="presentation " onError ="this.src='assets/img/login_logo.png' " alt ="">
37
+ < img *ngIf ="!logoUrl " src ="assets/img/login_logo.png " role ="presentation " alt ="">
36
38
</ div >
37
39
38
40
< p *ngIf ="siteInfo?.siteName " class ="ion-no-margin ion-no-padding core-sitename ">
You can’t perform that action at this time.
0 commit comments