You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.7 KiB

  1. @model Sevomin.Models.JobViewModel
  2. <div class="table-responsive rtl">
  3. <table class="table table-bordered">
  4. <thead>
  5. <tr>
  6. <th>@Html.DisplayNameFor(m => m.JalaliCreateDate)</th>
  7. <th>@Html.DisplayNameFor(m => m.JalaliExpireDate)</th>
  8. <th>@Html.DisplayNameFor(m => m.ResumeType)</th>
  9. <th>@Html.DisplayNameFor(m => m.IsFullTime)</th>
  10. </tr>
  11. </thead>
  12. <tbody>
  13. <tr>
  14. <td>@Html.DisplayFor(m => m.JalaliCreateDate)</td>
  15. <td>@Html.DisplayFor(m => m.JalaliExpireDate)</td>
  16. <td>@Sevomin.Models.Helpers.StringEnum.GetStringValue((Sevomin.Models.Enums.ResumeTypes)Model.ResumeType)</td>
  17. <td>@(Model.IsFullTime ? "بله" : "خیر")</td>
  18. </tr>
  19. </tbody>
  20. </table>
  21. <table class="table table-stripped table-bordered">
  22. <thead>
  23. <tr>
  24. <th colspan="2">ویژگی</th>
  25. <th>میزان اهمیت</th>
  26. </tr>
  27. </thead>
  28. <tbody>
  29. @foreach (var param in Model.Parameters)
  30. {
  31. if (!string.IsNullOrWhiteSpace(param.StringValue))
  32. {
  33. <tr>
  34. <th>@param.ParameterName</th>
  35. <td>@(param.DisplayMethod == 4 ? param.ParameterValues.FirstOrDefault(v => v.Item1.ToString() == param.StringValue).Item2 : param.StringValue)</td>
  36. <td>@Sevomin.Models.Helpers.StringEnum.GetStringValue((Sevomin.Models.Enums.MuSCoW)param.MoscowValue)</td>
  37. </tr>
  38. }
  39. }
  40. </tbody>
  41. </table>
  42. </div>