PlanTempusApp/PlanTempus.Application/Features/Dashboard/Components/BookingList/Default.cshtml

21 lines
785 B
Text
Raw Permalink Normal View History

@model PlanTempus.Application.Features.Dashboard.Components.BookingListViewModel
<swp-card data-key="@Model.Key">
<swp-card-header>
<swp-card-title>@Model.Title</swp-card-title>
<swp-section-action localize="dashboard.bookings.viewAll">Se alle</swp-section-action>
</swp-card-header>
<swp-current-time>
<i class="ph ph-clock"></i>
<span><span localize="dashboard.bookings.currentTime">Nu:</span> <swp-time>@Model.CurrentTime</swp-time></span>
</swp-current-time>
<swp-card-content>
<swp-booking-list>
@foreach (var bookingKey in Model.BookingKeys)
{
@await Component.InvokeAsync("BookingItem", bookingKey)
}
</swp-booking-list>
</swp-card-content>
</swp-card>