@if (executingTasks.length > 0) {
Running tasks
@for (task of executingTasks; track task.begin_time) {
{{ task.description }}
{{ task.begin_time | relativeDate }} {{ task.progress || 0 }} %
} }
@if (!last) {
}
@if (todayNotifications.length > 0) {
Today
@for (notification of todayNotifications; track notification.id; let last = $last) { } } @if (previousNotifications.length > 0) {
Previous
@for (notification of previousNotifications; track notification.id; let last = $last) { } } @if (todayNotifications.length === 0 && previousNotifications.length === 0) {
No notifications
}