Changeset 72b1da2 for PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml
- Timestamp:
- 08/23/24 03:03:32 (3 months ago)
- Branches:
- main
- Children:
- 118e414
- Parents:
- 57fc402
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
PostgreSqlDotnetCore/Views/VetCenter/Index.cshtml
r57fc402 r72b1da2 85 85 </td> 86 86 87 @if (SignInManager.IsSignedIn(User)) 87 88 89 @* @if ((SignInManager.IsSignedIn(User))) 88 90 { 89 91 <td> … … 95 97 </td> 96 98 } 99 *@ 100 101 @* Додадете условие за проверка на улогите *@ 102 @if (SignInManager.IsSignedIn(User) && (ViewBag.hasAccess != null && ViewBag.hasAccess == true)) 103 { 104 <td> 105 @Html.ActionLink("Edit", "Edit", new { id = item.id }) | 106 @Html.ActionLink("Details", "Details", new { id = item.id }) | 107 @Html.ActionLink("Delete", "Delete", new { id = item.id }) 108 </td> 109 } 97 110 98 111 </tr>
Note:
See TracChangeset
for help on using the changeset viewer.