Merge pull request #3913 from NoelDeMartin/MOBILE-3947
MOBILE-3947 login: Restore logo fallbackmain
commit
40c11692e2
|
@ -23,8 +23,10 @@
|
||||||
<ng-container *ngIf="!siteCheckError && site && credForm">
|
<ng-container *ngIf="!siteCheckError && site && credForm">
|
||||||
<div class="ion-text-wrap ion-text-center core-login-info-box">
|
<div class="ion-text-wrap ion-text-center core-login-info-box">
|
||||||
<div class="core-login-site">
|
<div class="core-login-site">
|
||||||
<div class="core-login-site-logo" *ngIf="logoUrl">
|
<div class="core-login-site-logo">
|
||||||
<img [src]="logoUrl" role="presentation" alt="" onError="this.src='assets/img/login_logo.png'">
|
<!-- Show site logo or a default image. -->
|
||||||
|
<img *ngIf="logoUrl" [src]="logoUrl" role="presentation" alt="" onError="this.src='assets/img/login_logo.png'">
|
||||||
|
<img *ngIf="!logoUrl" src="assets/img/login_logo.png" role="presentation" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<h2 *ngIf="siteName" class="ion-margin-top ion-no-padding core-sitename">
|
<h2 *ngIf="siteName" class="ion-margin-top ion-no-padding core-sitename">
|
||||||
|
|
|
@ -31,8 +31,10 @@
|
||||||
|
|
||||||
<div class="ion-text-wrap ion-text-center core-login-info-box">
|
<div class="ion-text-wrap ion-text-center core-login-info-box">
|
||||||
<div class="core-login-site">
|
<div class="core-login-site">
|
||||||
<div class="core-login-site-logo" *ngIf="!showUserAvatar && logoUrl">
|
<div class="core-login-site-logo" *ngIf="!showUserAvatar">
|
||||||
<img [src]="logoUrl" role="presentation" onError="this.src='assets/img/login_logo.png'" alt="">
|
<!-- Show site logo or a default image. -->
|
||||||
|
<img *ngIf="logoUrl" [src]="logoUrl" role="presentation" onError="this.src='assets/img/login_logo.png'" alt="">
|
||||||
|
<img *ngIf="!logoUrl" src="assets/img/login_logo.png" role="presentation" alt="">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<p *ngIf="siteInfo?.siteName" class="ion-no-margin ion-no-padding core-sitename">
|
<p *ngIf="siteInfo?.siteName" class="ion-no-margin ion-no-padding core-sitename">
|
||||||
|
|
Loading…
Reference in New Issue