feat: add view notifications page (#1170)

Fixes: #1169
This commit is contained in:
Karan Takalkar
2020-08-03 16:24:20 +05:30
committed by GitHub
parent ac280d2447
commit 30139026bd
11 changed files with 246 additions and 2 deletions
@@ -0,0 +1,26 @@
<div class="container">
<div class="mat-elevation-z8">
<table mat-table [dataSource]="dataSource" matSort>
<ng-container matColumnDef="notification">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Notification </th>
<td mat-cell *matCellDef="let notification"> {{ notification.content }} </td>
</ng-container>
<ng-container matColumnDef="createdAt">
<th mat-header-cell *matHeaderCellDef mat-sort-header> Created At </th>
<td mat-cell *matCellDef="let notification"> {{ notification.createdAt }} </td>
</ng-container>
<tr mat-header-row *matHeaderRowDef="displayedColumns"></tr>
<tr mat-row *matRowDef="let row; columns: displayedColumns;"></tr>
</table>
<mat-paginator [pageSizeOptions]="[10, 25, 50, 100]" showFirstLastButtons></mat-paginator>
</div>
</div>