1 @model IEnumerable<Projects.Models.ProjectTask>
4 ViewBag.Title = "Lista zadań";
7 <h2>@ViewBag.Title</h2>
10 @Html.ActionLink("Stwórz nowe zadanie", "Create")
15 @Html.DisplayNameFor(model => model.name)
18 @Html.DisplayNameFor(model => model.description)
21 @Html.DisplayNameFor(model => model.created_at)
24 @Html.DisplayNameFor(model => model.updated_at)
27 @Html.DisplayNameFor(model => model.Project.name)
30 @Html.DisplayNameFor(model => model.TaskStatus.status)
33 @Html.DisplayNameFor(model => model.User.login)
38 @foreach (var item in Model) {
41 @Html.DisplayFor(modelItem => item.name)
44 @Html.DisplayFor(modelItem => item.description)
47 @Html.DisplayFor(modelItem => item.created_at)
50 @Html.DisplayFor(modelItem => item.updated_at)
53 @Html.DisplayFor(modelItem => item.Project.name)
56 @Html.DisplayFor(modelItem => item.TaskStatus.status)
59 @Html.DisplayFor(modelItem => item.User.login)
62 @Html.ActionLink("Edycja", "Edit", new { id=item.id }) |
63 @Html.ActionLink("Szczegóły", "Details", new { id=item.id }) |
64 @Html.ActionLink("Usuń", "Delete", new { id=item.id })