PlanTempusApp/PlanTempus.Application/Features/Services/Components/ServiceCategoryGroup/Default.cshtml
Janus C. H. Knudsen 120367acbb Enhances Services module with detail view and interactions
Adds comprehensive service detail view with multiple tabs and dynamic interactions
Implements client-side navigation between service list and detail views
Introduces mock service data catalog for flexible component rendering
Extends localization support for new service detail screens

Improves user experience by adding edit capabilities and smooth view transitions
2026-01-16 22:03:22 +01:00

23 lines
838 B
Text

@model PlanTempus.Application.Features.Services.Components.ServiceCategoryViewModel
<swp-category-row data-category="@Model.Id" data-expanded="true">
<swp-data-table-cell>
<swp-category-toggle>
<i class="ph ph-caret-down"></i>
</swp-category-toggle>
<span class="category-name">@Model.Name</span>
<span class="category-count">(@Model.Services.Count)</span>
</swp-data-table-cell>
<swp-data-table-cell></swp-data-table-cell>
<swp-data-table-cell></swp-data-table-cell>
<swp-data-table-cell>
<swp-category-edit data-category-id="@Model.Id">
<i class="ph ph-pencil-simple"></i>
</swp-category-edit>
</swp-data-table-cell>
</swp-category-row>
@foreach (var service in Model.Services)
{
@await Component.InvokeAsync("ServiceRow", service)
}