mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-12-11 17:17:26 +01:00
better toasts, better dashboard, first implementation of consumer status
This commit is contained in:
parent
572e40ca27
commit
036f11acaa
28 changed files with 450 additions and 134 deletions
|
|
@ -1,7 +1,8 @@
|
|||
<ngb-toast
|
||||
*ngFor="let toast of toasts"
|
||||
[header]="toast.title" [autohide]="true" [delay]="toast.delay"
|
||||
[header]="toast.title" [autohide]="true" [delay]="toast.delay || 5000"
|
||||
[class]="toast.classname"
|
||||
(hide)="toastService.closeToast(toast)">
|
||||
{{toast.content}}
|
||||
<p>{{toast.content}}</p>
|
||||
<p *ngIf="toast.action"><button class="btn btn-sm btn-outline-secondary" (click)="toastService.closeToast(toast); toast.action()">{{toast.actionName}}</button></p>
|
||||
</ngb-toast>
|
||||
Loading…
Add table
Add a link
Reference in a new issue