diff options
Diffstat (limited to 'client/src/app/login/login.component.html')
-rw-r--r-- | client/src/app/login/login.component.html | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/client/src/app/login/login.component.html b/client/src/app/login/login.component.html index b0639d8ca..a935c86c3 100644 --- a/client/src/app/login/login.component.html +++ b/client/src/app/login/login.component.html | |||
@@ -3,7 +3,11 @@ | |||
3 | Login | 3 | Login |
4 | </div> | 4 | </div> |
5 | 5 | ||
6 | <ng-container *ngIf="!isAuthenticatedWithExternalAuth"> | 6 | <div class="alert alert-danger" i18n *ngIf="externalAuthError"> |
7 | Sorry but there was an issue with the external login process. Please <a routerLink="/about">contact an administrator</a>. | ||
8 | </div> | ||
9 | |||
10 | <ng-container *ngIf="!externalAuthError && !isAuthenticatedWithExternalAuth"> | ||
7 | <div class="alert alert-info" *ngIf="signupAllowed === false" role="alert"> | 11 | <div class="alert alert-info" *ngIf="signupAllowed === false" role="alert"> |
8 | <h6 class="alert-heading" i18n> | 12 | <h6 class="alert-heading" i18n> |
9 | If you are looking for an account… | 13 | If you are looking for an account… |
@@ -63,8 +67,8 @@ | |||
63 | <div class="external-login-blocks" *ngIf="getExternalLogins().length !== 0"> | 67 | <div class="external-login-blocks" *ngIf="getExternalLogins().length !== 0"> |
64 | <div class="block-title" i18n>Or sign in with</div> | 68 | <div class="block-title" i18n>Or sign in with</div> |
65 | 69 | ||
66 | <div class="external-login-block"> | 70 | <div> |
67 | <a *ngFor="let auth of getExternalLogins()" [href]="getAuthHref(auth)" role="button"> | 71 | <a class="external-login-block" *ngFor="let auth of getExternalLogins()" [href]="getAuthHref(auth)" role="button"> |
68 | {{ auth.authDisplayName }} | 72 | {{ auth.authDisplayName }} |
69 | </a> | 73 | </a> |
70 | </div> | 74 | </div> |