feat: add notifications tray component (#1172)

Fixes: #1171
This commit is contained in:
Karan Takalkar
2020-08-04 17:39:11 +05:30
committed by GitHub
parent e1e0af3063
commit 30a354c153
12 changed files with 242 additions and 13 deletions
+2
View File
@@ -28,6 +28,7 @@ import { RouteReusableStrategy } from './route/route-reusable-strategy';
/** Custom Modules */
import { SharedModule } from '../shared/shared.module';
import { NotificationsModule } from '../notifications/notifications.module';
/** Custom Components */
import { ShellComponent } from './shell/shell.component';
@@ -44,6 +45,7 @@ import { ContentComponent } from './shell/content/content.component';
@NgModule({
imports: [
SharedModule,
NotificationsModule,
HttpClientModule,
TranslateModule,
RouterModule
@@ -61,14 +61,7 @@
<mifosx-theme-picker fxHide.lt-md></mifosx-theme-picker>
<!--
TODO: Notifications
Separate into its own component in shared module for reuse.
Implement functionality.
-->
<button mat-icon-button class="ml-1" matTooltip="Notifications">
<fa-icon icon="bell" size="lg"></fa-icon>
</button>
<mifosx-notifications-tray fxHide.lt-md></mifosx-notifications-tray>
<button mat-icon-button class="ml-1 img-button" [matMenuTriggerFor]="applicationMenu">
<img src="assets/images/user_placeholder.png">