20 lines
644 B
Text
20 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>
|