Changeset e90ba32 for PostgreSqlDotnetCore/Views/Blog/Details.cshtml
- Timestamp:
- 08/29/24 20:27:21 (3 months ago)
- Branches:
- main
- Children:
- 99d0ecc
- Parents:
- a850333
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Views/Blog/Details.cshtml
ra850333 re90ba32 77 77 78 78 <td> 79 @Html.ActionLink("Edit", "Edit", "BlogPostAnswers", new { id = item.id }) | 80 @Html.ActionLink("Details", "Details", "BlogPostAnswers", new { id = item.id }) | 81 @Html.ActionLink("Delete", "Delete", "BlogPostAnswers", new { id = item.id }) 82 79 80 @Html.ActionLink("Details", "Details", "BlogPostAnswers", new { id = item.id }) 83 81 @Html.ActionLink("Create an Answer", "Create", "BlogPostAnswers", new { id = item.BlogPostConsultationid, parentId = item.id }) 84 82 </td> 83 84 @if (item.usersid == ViewBag.CurrentUserId) 85 86 { 87 <td> 88 89 @Html.ActionLink("Edit", "Edit", "BlogPostAnswers", new { id = item.id }) 90 @Html.ActionLink("Delete", "Delete", "BlogPostAnswers", new { id = item.id }) 91 92 93 </td> 94 } 95 96 85 97 </tr> 86 98 } … … 90 102 <p> 91 103 @Html.ActionLink("Create an Answer", "Create", "BlogPostAnswers", new { id = Model.id, parentId = Model.id }) 92 @Html.ActionLink("Edit", "Edit", new { id = Model.id }) |93 104 @Html.ActionLink("Back to List", "Index") 94 105 </p> 106 107 108 @if (Model.users_id == ViewBag.CurrentUserId) 109 110 { 111 <p> 112 @Html.ActionLink("Edit", "Edit", new { id = Model.id }) 113 114 115 </p> 116 }
Note:
See TracChangeset
for help on using the changeset viewer.