Implements localization for dashboard, cash register, account, and profile sections Adds localization keys for various UI elements, improving internationalization support Refactors view components to use ILocalizationService for dynamic text rendering Prepares ground for multi-language support with translation-ready markup
23 lines
850 B
Text
23 lines
850 B
Text
@model PlanTempus.Application.Features.Dashboard.Components.BookingListViewModel
|
|
|
|
<swp-card data-key="@Model.Key">
|
|
<swp-card-header>
|
|
<swp-card-title>
|
|
<i class="ph ph-calendar-check"></i>
|
|
@Model.Title
|
|
</swp-card-title>
|
|
<swp-card-action localize="dashboard.bookings.viewAll">Se alle</swp-card-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>
|