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
13 lines
548 B
Text
13 lines
548 B
Text
@model PlanTempus.Application.Features.Dashboard.Components.NotificationItemViewModel
|
|
|
|
<swp-notification-item data-key="@Model.Key" class="@(Model.IsUnread ? "unread" : "")">
|
|
<swp-notification-icon>
|
|
<i class="ph ph-@Model.Icon"></i>
|
|
</swp-notification-icon>
|
|
<swp-notification-content>
|
|
<swp-notification-text>
|
|
<strong>@Model.Title</strong> @Model.Text
|
|
</swp-notification-text>
|
|
<swp-notification-time>@Model.Time</swp-notification-time>
|
|
</swp-notification-content>
|
|
</swp-notification-item>
|