The blogspot iis now in the PostIt app,
All checks were successful
Dotnet build and test / build (pull_request) Successful in 21m55s

no more creation/edition from here
This commit is contained in:
Paul Schneider 2026-09-21 10:40:49 +01:00
commit efc2296858
Signed by: notazof
GPG key ID: AD4B9B545FBD7D12
7 changed files with 2 additions and 292 deletions

View file

@ -39,11 +39,6 @@
}
<h2>@ViewBag.Title</h2>
<p class="text-success">@ViewBag.StatusMessage</p>
@if (User.IsSignedIn()) {
<p>
<a asp-action="Create">Create a new article</a>
</p>
}
<div class="blog-index">
@{
@ -78,8 +73,6 @@
}
@if ((await AuthorizationService.AuthorizeAsync(User, post, new EditPermission())).Succeeded)
{
<a asp-action="Edit" asp-route-id="@post.Id" class="btn btn-primary">Edit</a>
<a asp-action="Delete" asp-route-id="@post.Id" class="btn btn-danger">Delete</a>
}