PlanTempusApp/PlanTempus.Application/Features/Dashboard/Components/NotificationList/Default.cshtml
Janus C. H. Knudsen abcf8ee75e Adds dashboard booking and notification components
Introduces reusable view components for bookings and notifications
Implements dynamic rendering of booking items and lists
Adds corresponding CSS styles for new dashboard components

Enhances dashboard user interface with interactive elements
2026-01-11 13:11:55 +01:00

19 lines
644 B
Text

@model PlanTempus.Application.Features.Dashboard.Components.NotificationListViewModel
<swp-card data-key="@Model.Key">
<swp-card-header>
<swp-card-title>
<i class="ph ph-bell"></i>
@Model.Title
</swp-card-title>
<swp-card-action>@Model.ActionText</swp-card-action>
</swp-card-header>
<swp-card-content>
<swp-notification-list>
@foreach (var notificationKey in Model.NotificationKeys)
{
@await Component.InvokeAsync("NotificationItem", notificationKey)
}
</swp-notification-list>
</swp-card-content>
</swp-card>