Details.cshtml 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. @model esoft_API.Models.Entities.Task
  2. @{
  3. ViewBag.Title = "Details";
  4. }
  5. <h2>Details</h2>
  6. <div>
  7. <h4>Task</h4>
  8. <hr />
  9. <dl class="dl-horizontal">
  10. <dt>
  11. @Html.DisplayNameFor(model => model.Title)
  12. </dt>
  13. <dd>
  14. @Html.DisplayFor(model => model.Title)
  15. </dd>
  16. <dt>
  17. @Html.DisplayNameFor(model => model.Description)
  18. </dt>
  19. <dd>
  20. @Html.DisplayFor(model => model.Description)
  21. </dd>
  22. <dt>
  23. @Html.DisplayNameFor(model => model.CreateDateTime)
  24. </dt>
  25. <dd>
  26. @Html.DisplayFor(model => model.CreateDateTime)
  27. </dd>
  28. <dt>
  29. @Html.DisplayNameFor(model => model.Deadline)
  30. </dt>
  31. <dd>
  32. @Html.DisplayFor(model => model.Deadline)
  33. </dd>
  34. <dt>
  35. @Html.DisplayNameFor(model => model.Difficulty)
  36. </dt>
  37. <dd>
  38. @Html.DisplayFor(model => model.Difficulty)
  39. </dd>
  40. <dt>
  41. @Html.DisplayNameFor(model => model.Time)
  42. </dt>
  43. <dd>
  44. @Html.DisplayFor(model => model.Time)
  45. </dd>
  46. <dt>
  47. @Html.DisplayNameFor(model => model.Status)
  48. </dt>
  49. <dd>
  50. @Html.DisplayFor(model => model.Status)
  51. </dd>
  52. <dt>
  53. @Html.DisplayNameFor(model => model.WorkType)
  54. </dt>
  55. <dd>
  56. @Html.DisplayFor(model => model.WorkType)
  57. </dd>
  58. <dt>
  59. @Html.DisplayNameFor(model => model.CompletedDateTime)
  60. </dt>
  61. <dd>
  62. @Html.DisplayFor(model => model.CompletedDateTime)
  63. </dd>
  64. <dt>
  65. @Html.DisplayNameFor(model => model.IsDeleted)
  66. </dt>
  67. <dd>
  68. @Html.DisplayFor(model => model.IsDeleted)
  69. </dd>
  70. <dt>
  71. @Html.DisplayNameFor(model => model.Executor.Grade)
  72. </dt>
  73. <dd>
  74. @Html.DisplayFor(model => model.Executor.Grade)
  75. </dd>
  76. </dl>
  77. </div>
  78. <p>
  79. @Html.ActionLink("Edit", "Edit", new { id = Model.ID }) |
  80. @Html.ActionLink("Back to List", "Index")
  81. </p>