yavsc/src/Yavsc/Views/Bug/DeleteAllLike.cshtml

52 lines
1.2 KiB
Text
Raw Normal View History

2023-03-19 16:02:50 +00:00
@model IEnumerable<Yavsc.Models.IT.Fixing.Bug>
@{
2023-03-20 09:13:16 +00:00
ViewData["Title"] = "DeleteAllLike";
2023-03-19 16:02:50 +00:00
}
2023-03-20 09:13:16 +00:00
<h2>Index</h2>
2023-03-19 16:02:50 +00:00
<p>
2023-03-20 09:13:16 +00:00
<a asp-action="Create">Create New</a>
2023-03-19 16:02:50 +00:00
</p>
<table class="table">
<tr>
<td>
2023-03-20 19:38:50 +00:00
@Html.DisplayNameFor(model => model.Id)
2023-03-19 16:02:50 +00:00
</td>
<td>
2023-03-20 19:38:50 +00:00
@Html.DisplayNameFor(model => model.Title)
2023-03-19 16:02:50 +00:00
</td>
<th>
2023-03-20 19:38:50 +00:00
@Html.DisplayNameFor(model => model.FeatureId)
2023-03-19 16:02:50 +00:00
</th>
<th>
2023-03-20 19:38:50 +00:00
@Html.DisplayNameFor(model => model.Status)
2023-03-19 16:02:50 +00:00
</th>
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(model => item.Id)
</td>
<td>
@Html.DisplayFor(model => item.Title)
</td>
<td>
@Html.DisplayFor(modelItem => item.FeatureId)
</td>
<td>
2023-03-20 19:38:50 +00:00
@typeof(Yavsc.Models.IT.Fixing.BugStatus).GetEnumNames()[(int)item.Status]
2023-03-19 16:02:50 +00:00
</td>
<td>
2023-03-20 09:13:16 +00:00
<a asp-action="Edit" asp-route-id="@item.Id">Edit</a> |
<a asp-action="Details" asp-route-id="@item.Id">Details</a> |
<a asp-action="DeleteAllLike" asp-route-id="@item.Id">Delete</a>
2023-03-19 16:02:50 +00:00
</td>
</tr>
}
</table>