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

57 lines
1.3 KiB
Plaintext

8 years ago
@model IEnumerable<Yavsc.Models.IT.Fixing.Bug>
@{
7 years ago
ViewData["Title"] = @SR["Index"];
8 years ago
}
7 years ago
<h2>@SR["Index"]</h2>
8 years ago
<p>
7 years ago
<a asp-action="Create">@SR["Create New"]</a>
8 years ago
</p>
<table class="table">
<tr>
<td>
@Html.DisplayNameFor(model => model.Id)
</td>
<td>
@Html.DisplayNameFor(model => model.Title)
</td>
8 years ago
<th>
@Html.DisplayNameFor(model => model.FeatureId)
</th>
<th>
@Html.DisplayNameFor(model => model.Status)
</th>
<th>
@Html.DisplayNameFor(model => model.Description)
</th>
8 years ago
<th></th>
</tr>
@foreach (var item in Model) {
<tr>
<td>
@Html.DisplayFor(model => item.Id)
</td>
<td>
@Html.DisplayFor(model => item.Title)
</td>
8 years ago
<td>
@Html.DisplayFor(modelItem => item.FeatureId)
</td>
<td>
@Html.DisplayFor(modelItem => item.Status)
</td>
<td>
@Html.DisplayFor(modelItem => item.Description)
</td>
8 years ago
<td>
<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="Delete" asp-route-id="@item.Id">Delete</a>
</td>
</tr>
}
</table>