@page "/tasks/{TaskId:long}/details"
@using Microsoft.AspNetCore.Authorization
@using Microsoft.AspNetCore.Components.Authorization
@using Microsoft.AspNetCore.Components.Forms
@using TaskTrackingSystem.Shared
@using TaskTrackingSystem.Shared.Models.Task
@using TaskTrackingSystem.Shared.Models.Comment
@using TaskTrackingSystem.Shared.Models.Project
@using TaskTrackingSystem.Shared.Models.User
@using TaskTrackingSystem.WebApp.Components.Partial
@rendermode @(new InteractiveServerRenderMode(prerender: false))
@attribute [Authorize]
@inject ApiClientService ApiClient
@inject IJSRuntime JS
@inject NavigationManager Navigation
@inject AuthenticationStateProvider AuthStateProvider
@inject MenuAuthorizationService MenuAuthorization
@AppLocalization.Text("task.notFoundDesc", "The task you are looking for does not exist or has been deleted.")
@Content.GetText(c.UserRoleName, c.UserRoleNameMy)
@AppLocalization.Text("comment.noComments", "No comments posted yet.")
@AppLocalization.Text("comment.startConversation", "Start the conversation below!")
@commentError
}