Changeset View
Changeset View
Standalone View
Standalone View
src/app/_shared/notifcations/notifications.component.html
- This file was added.
<!-- Area List Component --> | |||||
<div id="areaList"> | |||||
<div fxLayout="column" class="home-container"> | |||||
<div style="margin-top: 3vh;"> | |||||
<h2 class="home-title">Notifications</h2> | |||||
<div *ngFor="let notification of notifications"> | |||||
<div fxLayout="row"> | |||||
<div class="home-area-card" (click)="goto(area)" fxLayoutAlign="space-evenly center"> | |||||
<h4 style="color: #ffffff;">{{notification.post.text | slice:0:31}}<ng-container *ngIf="notification.post.text.length > 32">…</ng-container></h4> | |||||
<h4 style="color: #ffffff;">{{notification.comments.length}}</h4> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> | |||||
</div> |