Automatically update creation and modification date
[wsti_pai.git] / Projects / Views / Projects / Index.cshtml
index bed3736c9469a1572f0f8c25a78dbdc7e04b6cbd..a565ad1bc86eaa5de338f1f9358d2e8f1b48736b 100644 (file)
@@ -4,7 +4,7 @@
     ViewBag.Title = "Index";
 }
 
-<h2>Index</h2>
+<h2>@ViewBag.Title</h2>
 
 <p>
     @Html.ActionLink("Create New", "Create")
@@ -24,7 +24,7 @@
             @Html.DisplayNameFor(model => model.updated_at)
         </th>
         <th>
-            @Html.DisplayNameFor(model => model.ProjectUser.login)
+            @Html.DisplayNameFor(model => model.User.login)
         </th>
         <th></th>
     </tr>
             @Html.DisplayFor(modelItem => item.updated_at)
         </td>
         <td>
-            @Html.DisplayFor(modelItem => item.ProjectUser.login)
+            @Html.DisplayFor(modelItem => item.User.login)
         </td>
         <td>
-            @Html.ActionLink("Edit", "Edit", new { id=item.id }) |
-            @Html.ActionLink("Details", "Details", new { id=item.id }) |
-            @Html.ActionLink("Delete", "Delete", new { id=item.id })
+            @Html.ActionLink("Edycja", "Edit", new { id=item.id }) |
+            @Html.ActionLink("Szczegóły", "Details", new { id=item.id }) |
+            @Html.ActionLink("Usuń", "Delete", new { id=item.id })
         </td>
     </tr>
 }