The blogspot iis now in the PostIt app,
All checks were successful
Dotnet build and test / build (pull_request) Successful in 21m55s
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:
parent
6a69a20364
commit
efc2296858
7 changed files with 2 additions and 292 deletions
|
|
@ -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>
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue