-
Notifications
You must be signed in to change notification settings - Fork 149
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
- Loading branch information
1 parent
fe8c459
commit 7992b0a
Showing
28 changed files
with
2,159 additions
and
1,022 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
src/app/components/common/generic-error/generic-error.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
<mat-icon>ic_error</mat-icon> | ||
<p class="generic-error__title"> | ||
{{ 'APP.MESSAGES.ERRORS.MISSING_CONTENT' | translate }} | ||
{{ 'APP.MESSAGES.ERRORS.MISSING_CONTENT' | translate }} | ||
</p> |
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
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
29 changes: 15 additions & 14 deletions
29
src/app/components/current-user/current-user.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 |
---|---|---|
@@ -1,23 +1,24 @@ | ||
<div title="{{ (profile$ | async)?.id }}"> | ||
<div class="current-user__full-name">{{ (profile$ | async)?.userName }}</div> | ||
<div | ||
class="current-user__avatar am-avatar" | ||
[matMenuTriggerFor]="userMenu"> | ||
{{ (profile$ | async)?.initials }} | ||
</div> | ||
<div class="current-user__full-name">{{ (profile$ | async)?.userName }}</div> | ||
<div class="current-user__avatar am-avatar" [matMenuTriggerFor]="userMenu"> | ||
{{ (profile$ | async)?.initials }} | ||
</div> | ||
</div> | ||
|
||
<mat-menu #userMenu="matMenu" [overlapTrigger]="false"> | ||
<button *ngIf="languagePicker$ | async" | ||
mat-menu-item [matMenuTriggerFor]="langMenu"> | ||
{{ 'APP.LANGUAGE' | translate }} | ||
</button> | ||
<button | ||
*ngIf="(languagePicker$ | async)" | ||
mat-menu-item | ||
[matMenuTriggerFor]="langMenu" | ||
> | ||
{{ 'APP.LANGUAGE' | translate }} | ||
</button> | ||
|
||
<button mat-menu-item (click)="onLogoutEvent()" adf-logout> | ||
{{ 'APP.SIGN_OUT' | translate }} | ||
</button> | ||
<button mat-menu-item (click)="onLogoutEvent()" adf-logout> | ||
{{ 'APP.SIGN_OUT' | translate }} | ||
</button> | ||
</mat-menu> | ||
|
||
<mat-menu #langMenu="matMenu"> | ||
<adf-language-menu></adf-language-menu> | ||
<adf-language-menu></adf-language-menu> | ||
</mat-menu> |
25 changes: 15 additions & 10 deletions
25
src/app/components/info-drawer/info-drawer.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 |
---|---|---|
@@ -1,14 +1,19 @@ | ||
<div *ngIf="isLoading"> | ||
<mat-progress-bar mode="indeterminate"></mat-progress-bar> | ||
<mat-progress-bar mode="indeterminate"></mat-progress-bar> | ||
</div> | ||
<ng-container *ngIf="!isLoading && !!displayNode"> | ||
<adf-info-drawer [title]="'APP.INFO_DRAWER.TITLE' | translate"> | ||
<adf-info-drawer-tab | ||
*ngFor="let tab of tabs" | ||
[icon]="tab.icon" | ||
[label]="tab.title | translate"> | ||
<adf-dynamic-tab [node]="displayNode" [id]="tab.component" [attr.data-automation-id]="tab.component"> | ||
</adf-dynamic-tab> | ||
</adf-info-drawer-tab> | ||
</adf-info-drawer> | ||
<adf-info-drawer [title]="'APP.INFO_DRAWER.TITLE' | translate"> | ||
<adf-info-drawer-tab | ||
*ngFor="let tab of tabs" | ||
[icon]="tab.icon" | ||
[label]="tab.title | translate" | ||
> | ||
<adf-dynamic-tab | ||
[node]="displayNode" | ||
[id]="tab.component" | ||
[attr.data-automation-id]="tab.component" | ||
> | ||
</adf-dynamic-tab> | ||
</adf-info-drawer-tab> | ||
</adf-info-drawer> | ||
</ng-container> |
Oops, something went wrong.