mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-12 17:04:57 +00:00
* increase timeout and modify login async * run e2e if testing is changed * improve cdk fix * fix travis update projects * disable ghostMode lite server * lint fix * fix timeout * multiple try * Update content-services-e2e.sh * Update search-e2e.sh * Update process-services-e2e.sh * Update core-e2e.sh * Update protractor.conf.ts * fix unit * remove async * increqase notification time * 3 parallel * dix path issue in save * small refactor protractor ts * fix save * create license check first script adf cli * modify regex check * refactor notification history component * decrease notification * fix notification message problem * fix test * update packages wit high risk * revert cahnge login sso e2e * fix dep * fix documentation duplication and issue * fix after review * fix after review * try 6 parallel test * back to 3 parallel test no real time improve with 6
34 lines
1.7 KiB
HTML
34 lines
1.7 KiB
HTML
<div (keyup)="onKeyPress($event)">
|
|
<button mat-button [matMenuTriggerFor]="menu" class="adf-notification-history-menu_button"
|
|
id="adf-notification-history-open-button">
|
|
<mat-icon>mail_outline</mat-icon>
|
|
</button>
|
|
<mat-menu #menu="matMenu" [xPosition]="menuPositionX" [yPosition]="menuPositionY"
|
|
[overlapTrigger]="false" id="adf-notification-history-menu" class="adf-notification-history-menu">
|
|
|
|
<div id="adf-notification-history-list">
|
|
<mat-list>
|
|
<mat-list-item>
|
|
<h6 mat-line>{{ 'NOTIFICATION_HISTORY.NOTIFICATIONS' | translate }}</h6>
|
|
</mat-list-item>
|
|
</mat-list>
|
|
<mat-divider></mat-divider>
|
|
|
|
<mat-list>
|
|
<mat-list-item *ngFor="let notification of notifications">
|
|
<mat-icon mat-list-icon>{{notification.info? notification.info: 'info'}}</mat-icon>
|
|
<h4 mat-line>{{notification.message}}</h4>
|
|
<p mat-line> {{notification.dateTime | date}} </p>
|
|
</mat-list-item>
|
|
<mat-list-item *ngIf="isEmptyNotification()" id="adf-notification-history-component-no-message">
|
|
<h4 mat-line>{{ 'NOTIFICATION_HISTORY.NO_MESSAGE' | translate }}</h4>
|
|
</mat-list-item>
|
|
<mat-action-list *ngIf="!isEmptyNotification()" id="adf-notification-history-mark-as-read">
|
|
<button mat-list-item (click)="markAsRead()">{{ 'NOTIFICATION_HISTORY.MARK_AS_READ' | translate }}
|
|
</button>
|
|
</mat-action-list>
|
|
</mat-list>
|
|
</div>
|
|
</mat-menu>
|
|
</div>
|