Forked from an inaccessible project.
-
Previously, the alert component only worked with the degree planner view. Now the alert component can be used in any view that supplies a list of alerts.
Previously, the alert component only worked with the degree planner view. Now the alert component can be used in any view that supplies a list of alerts.
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
alert-container.component.html 516 B
<div class="cse-alert-container">
<div *ngFor="let alert of alerts" class="cse-alert">
<div class="alert-icon">
<mat-icon>warning</mat-icon>
</div>
<div class="alert-body">
<p class="alert-title mat-h4"><strong>{{ alert.title }}</strong></p>
<p class="alert-message mat-body">{{ alert.message }}</p>
</div>
<div class="alert-close">
<button mat-icon-button (click)="dismissAlert(alert.key, alert.callback)"><mat-icon>clear</mat-icon></button>
</div>
</div>
</div>