@page @model StatiKosev.Pages.InboxModel @inject Microsoft.AspNetCore.Antiforgery.IAntiforgery Antiforgery @{ ViewData["Title"] = StringValues["Messages"]; } @section Head { } @if (!Model.IsAdmin) { @* no account: the admin password is checked by PrivateMessageController.Login *@
} else { @* messages are loaded as JSON from PrivateMessageController by inbox.js *@@StringValues["Loading"]