-
Notifications
You must be signed in to change notification settings - Fork 441
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
f475a4f
commit 75f5462
Showing
6 changed files
with
63 additions
and
31 deletions.
There are no files selected for viewing
5 changes: 3 additions & 2 deletions
5
...suggestion-notifications/suggestions-notification/suggestions-notification.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
<ng-container *ngIf="(suggestionsRD$ | async) as suggestions"> | ||
<ng-container *ngFor="let suggestion of suggestions" class="alert alert-info"> | ||
<div class="alert alert-success d-block" *ngIf="suggestion.total > 0"> | ||
<div [innerHTML]="'notification.suggestion' | translate: getNotificationSuggestionInterpolation(suggestion)"> | ||
</div> | ||
<div [innerHTML]="'notification.suggestion' | translate: getNotificationSuggestionInterpolation(suggestion)"></div> | ||
{{ 'notification.suggestion.please' | translate }} | ||
<a [routerLink]="getNotificationSuggestionInterpolation(suggestion).url"> {{ 'notification.suggestion.review' | translate}} </a> | ||
</div> | ||
</ng-container> | ||
</ng-container> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
src/app/suggestion-notifications/suggestions-popup/suggestions-popup.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,27 @@ | ||
<div class="notifications-wrapper position-fixed top right" *ngIf="suggestionsRD$ | async"> | ||
<div class="notification alert alert-success alert-dismissible m-3 shadow" role="alert"> | ||
<button (click)="removePopup()" | ||
type="button" class="close pt-0 pr-1 pl-0 pb-0" data-dismiss="alert" aria-label="Close"> | ||
<span aria-hidden="true">×</span> | ||
</button> | ||
|
||
<div class="d-flex flex-row"> | ||
<div class="d-flex flex-column justify-content-center align-items-center"> | ||
<div class="notification-icon d-flex justify-content-center"><i class="fas fa-2x fa-check-circle"></i></div> | ||
</div> | ||
<div class="d-flex flex-column justify-content-center align-content-stretch text-left p-2"> | ||
<ng-container *ngIf="(suggestionsRD$ | async) as suggestions"> | ||
<ng-container *ngFor="let suggestion of suggestions" class="alert alert-info"> | ||
<div *ngIf="suggestion.total > 0"> | ||
<div [innerHTML]="'notification.suggestion' | translate: getNotificationSuggestionInterpolation(suggestion)"></div> | ||
{{ 'notification.suggestion.please' | translate }} | ||
<a [routerLink]="getNotificationSuggestionInterpolation(suggestion).url"> {{ 'notification.suggestion.review' | translate}} </a> | ||
</div> | ||
</ng-container> | ||
</ng-container> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters