Files
yavsc/src/Yavsc/Views/Bug/Index.cshtml
2019-06-23 00:05:23 +01:00

57 lines
1.3 KiB
Plaintext

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