Refactored components' name and added missing tests

This commit is contained in:
Giuseppe Digilio
2020-01-02 18:21:47 +01:00
parent 972f0dfd60
commit fdd05d2fec
29 changed files with 637 additions and 285 deletions

View File

@@ -1,10 +1,10 @@
<ds-loading *ngIf="(loading | async) || (isAuthenticated | async)" class="m-5"></ds-loading>
<div *ngIf="!(loading | async) && !(isAuthenticated | async)" class="form-login px-4 py-3">
<ng-container *ngFor="let authMethodModel of (authMethodModels | async); let i = index">
<div *ngIf="!(loading | async) && !(isAuthenticated | async)" class="px-4 py-3">
<ng-container *ngFor="let authMethod of (authMethods | async); let i = index">
<div *ngIf="i === 1" class="text-center mt-2">
<span class="align-middle">{{"login.form.or-divider" | translate}}</span>
</div>
<ds-login-container [authMethodModel]="authMethodModel"></ds-login-container>
<ds-log-in-container [authMethod]="authMethod"></ds-log-in-container>
</ng-container>
<div class="dropdown-divider"></div>